From b7886c46d79978a2a69ed940ebe7047ccd599fca Mon Sep 17 00:00:00 2001 From: notmatthewbeshay <92357869+NotMachow@users.noreply.github.com> Date: Wed, 11 Mar 2026 02:19:49 +1100 Subject: [PATCH] Use standard locale IDs in common app --- Minecraft.Client/Platform/Common/Consoles_App.cpp | 4 ++-- Minecraft.Client/Platform/Common/Consoles_App.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Minecraft.Client/Platform/Common/Consoles_App.cpp b/Minecraft.Client/Platform/Common/Consoles_App.cpp index 6d6c85dfa..0b10b2edd 100644 --- a/Minecraft.Client/Platform/Common/Consoles_App.cpp +++ b/Minecraft.Client/Platform/Common/Consoles_App.cpp @@ -9185,13 +9185,13 @@ void CMinecraftApp::getLocale(std::vector &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]; } diff --git a/Minecraft.Client/Platform/Common/Consoles_App.h b/Minecraft.Client/Platform/Common/Consoles_App.h index 148d01014..18c1dfc90 100644 --- a/Minecraft.Client/Platform/Common/Consoles_App.h +++ b/Minecraft.Client/Platform/Common/Consoles_App.h @@ -875,8 +875,8 @@ public: void LocaleAndLanguageInit(); void getLocale(std::vector &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);