diff --git a/ctru-rs/src/services/cfgu.rs b/ctru-rs/src/services/cfgu.rs index 96c3cd5..0ade817 100644 --- a/ctru-rs/src/services/cfgu.rs +++ b/ctru-rs/src/services/cfgu.rs @@ -17,7 +17,7 @@ pub enum Region { #[derive(Copy, Clone, Debug)] #[repr(u32)] pub enum Language { - Japan = ctru_sys::CFG_LANGUAGE_JP, + Japanese = ctru_sys::CFG_LANGUAGE_JP, English = ctru_sys::CFG_LANGUAGE_EN, French = ctru_sys::CFG_LANGUAGE_FR, German = ctru_sys::CFG_LANGUAGE_DE, @@ -178,7 +178,7 @@ impl TryFrom for Language { fn try_from(value: u8) -> Result { match value as u32 { - ctru_sys::CFG_LANGUAGE_JP => Ok(Language::Japan), + ctru_sys::CFG_LANGUAGE_JP => Ok(Language::Japanese), ctru_sys::CFG_LANGUAGE_EN => Ok(Language::English), ctru_sys::CFG_LANGUAGE_FR => Ok(Language::French), ctru_sys::CFG_LANGUAGE_DE => Ok(Language::German),