Skip to content

Commit

Permalink
Fix for libnx change
Browse files Browse the repository at this point in the history
  • Loading branch information
caseif committed Apr 25, 2020
1 parent cba5d3d commit c875696
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ini_helper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ static int getLanguage(SetLanguage *lang) {
u64 lang_code;
DO_OR_DIE(rc, setInitialize(), "Failed to initialize settings");
DO_OR_DIE(rc, setGetSystemLanguage(&lang_code), "Failed to get system language");
DO_OR_DIE(rc, setMakeLanguage(lang_code, reinterpret_cast<s32*>(lang)), "Failed to convert language code");
DO_OR_DIE(rc, setMakeLanguage(lang_code, lang), "Failed to convert language code");
return 0;
}

Expand Down

0 comments on commit c875696

Please sign in to comment.