Skip to content

Commit

Permalink
Remove is_mii_selected entirely, formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
DeltaF1 committed May 8, 2023
1 parent 827f003 commit b50bacf
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions ctru-rs/src/applets/mii_selector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,6 @@ pub struct MiiSelector {
#[derive(Clone, Debug)]
pub struct SelectionResult {
pub mii_data: MiiData,

#[deprecated]
pub is_mii_selected: bool,
pub mii_type: MiiType,
}

Expand All @@ -67,7 +64,6 @@ pub struct SelectionResult {
pub enum LaunchError {
/// The selected Mii's data is corrupt in some way
InvalidChecksum,

/// Either the user cancelled the selection (see [Options::MII_SELECTOR_CANCEL]), or no valid Miis were available to select
NoMiiSelected,
}
Expand Down Expand Up @@ -178,7 +174,6 @@ impl From<ctru_sys::MiiSelectorReturn> for SelectionResult {

SelectionResult {
mii_data: raw_mii_data.into(),
is_mii_selected: ret.no_mii_selected == 0,
mii_type: if ret.guest_mii_index != 0xFFFFFFFF {
MiiType::Guest {
index: ret.guest_mii_index,
Expand Down

0 comments on commit b50bacf

Please sign in to comment.