Remove DWORD texture pack IDs from app path helpers

This commit is contained in:
notmatthewbeshay 2026-03-10 01:02:38 +11:00
parent 52b462fffd
commit fc1e696409
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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_map<int, std::wstring>m_localeA;
std::unordered_map<std::wstring, int>m_eMCLangA;
std::unordered_map<std::wstring, int>m_xcLangA;
std::wstring getRootPath(DWORD packId, bool allowOverride, bool bAddDataFolder);
std::wstring getRootPath(std::uint32_t packId, bool allowOverride, bool bAddDataFolder);
public:
#ifdef _XBOX