diff --git a/Minecraft.Client/Platform/Common/Consoles_App.cpp b/Minecraft.Client/Platform/Common/Consoles_App.cpp index 5268792f2..cc746122a 100644 --- a/Minecraft.Client/Platform/Common/Consoles_App.cpp +++ b/Minecraft.Client/Platform/Common/Consoles_App.cpp @@ -9395,7 +9395,7 @@ void CMinecraftApp::SetTickTMSDLCFiles(bool bVal) m_bTickTMSDLCFiles=bVal; } -std::wstring CMinecraftApp::getFilePath(DWORD packId, std::wstring filename, bool bAddDataFolder) +std::wstring CMinecraftApp::getFilePath(std::uint32_t packId, std::wstring filename, bool bAddDataFolder) { #ifdef _XBOX std::wstring path = getRootPath(packId, true, bAddDataFolder) + filename; @@ -9431,7 +9431,7 @@ std::wstring titleUpdateTexturePackRoot = L"GAME:\\res\\TitleUpdate\\DLC\\"; #endif #endif -std::wstring CMinecraftApp::getRootPath(DWORD packId, bool allowOverride, bool bAddDataFolder) +std::wstring CMinecraftApp::getRootPath(std::uint32_t packId, bool allowOverride, bool bAddDataFolder) { std::wstring path = L"TPACK:"; #ifdef _XBOX diff --git a/Minecraft.Client/Platform/Common/Consoles_App.h b/Minecraft.Client/Platform/Common/Consoles_App.h index 6c50f680f..e92b391b0 100644 --- a/Minecraft.Client/Platform/Common/Consoles_App.h +++ b/Minecraft.Client/Platform/Common/Consoles_App.h @@ -878,13 +878,13 @@ public: void SetTickTMSDLCFiles(bool bVal); - std::wstring getFilePath(DWORD packId, std::wstring filename, bool bAddDataFolder); + std::wstring getFilePath(std::uint32_t packId, std::wstring filename, bool bAddDataFolder); private: std::unordered_mapm_localeA; std::unordered_mapm_eMCLangA; std::unordered_mapm_xcLangA; - std::wstring getRootPath(DWORD packId, bool allowOverride, bool bAddDataFolder); + std::wstring getRootPath(std::uint32_t packId, bool allowOverride, bool bAddDataFolder); public: #ifdef _XBOX