You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This change upstream devkitPro/libctru#553 changed the enum repr for CFG_Language from u8 to i8. It seems this was done to accommodate the error applet which interprets the language enum differently (0 means use the system default). There is no actual change to the values of the existing enum constants, just their repr.
error[E0308]: mismatched types
--> /home/-/.cargo/git/checkouts/ctru-rs-1206856f7a5d76bc/4a15ec9/ctru-rs/src/services/cfgu.rs:35:16
|
35 | Japanese = ctru_sys::CFG_LANGUAGE_JP,
| ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8`
error[E0308]: mismatched types
--> /home/-/.cargo/git/checkouts/ctru-rs-1206856f7a5d76bc/4a15ec9/ctru-rs/src/services/cfgu.rs:37:15
|
37 | English = ctru_sys::CFG_LANGUAGE_EN,
| ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8`
error[E0308]: mismatched types
--> /home/-/.cargo/git/checkouts/ctru-rs-1206856f7a5d76bc/4a15ec9/ctru-rs/src/services/cfgu.rs:39:14
|
39 | French = ctru_sys::CFG_LANGUAGE_FR,
| ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8`
The text was updated successfully, but these errors were encountered:
This change upstream devkitPro/libctru#553 changed the enum repr for
CFG_Language
fromu8
toi8
. It seems this was done to accommodate the error applet which interprets the language enum differently (0 means use the system default). There is no actual change to the values of the existing enum constants, just their repr.The text was updated successfully, but these errors were encountered: