Use standard locale IDs in common app

This commit is contained in:
notmatthewbeshay 2026-03-11 02:19:49 +11:00
parent 1b6447a3ca
commit b7886c46d7
2 changed files with 4 additions and 4 deletions

View file

@ -9185,13 +9185,13 @@ void CMinecraftApp::getLocale(std::vector<std::wstring> &vecWstrLocales)
}
}
DWORD CMinecraftApp::get_eMCLang(WCHAR *pwchLocale)
int CMinecraftApp::get_eMCLang(WCHAR *pwchLocale)
{
return m_eMCLangA[pwchLocale];
}
DWORD CMinecraftApp::get_xcLang(WCHAR *pwchLocale)
int CMinecraftApp::get_xcLang(WCHAR *pwchLocale)
{
return m_xcLangA[pwchLocale];
}

View file

@ -875,8 +875,8 @@ public:
void LocaleAndLanguageInit();
void getLocale(std::vector<std::wstring> &vecWstrLocales);
DWORD get_eMCLang(WCHAR *pwchLocale);
DWORD get_xcLang(WCHAR *pwchLocale);
int get_eMCLang(WCHAR *pwchLocale);
int get_xcLang(WCHAR *pwchLocale);
void SetTickTMSDLCFiles(bool bVal);