mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
DiscIO/SConfig: Rename GetUniqueID to GetGameID
We call this "game ID" everywhere else, and it's not actually completely unique.
This commit is contained in:
@ -85,7 +85,7 @@ void HiresTexture::Update()
|
||||
s_textureCache.clear();
|
||||
}
|
||||
|
||||
const std::string& game_id = SConfig::GetInstance().m_strUniqueID;
|
||||
const std::string& game_id = SConfig::GetInstance().m_strGameID;
|
||||
const std::string texture_directory = GetTextureDirectory(game_id);
|
||||
std::vector<std::string> extensions{
|
||||
".png", ".bmp", ".tga", ".dds",
|
||||
@ -224,7 +224,7 @@ std::string HiresTexture::GenBaseName(const u8* texture, size_t texture_size, co
|
||||
u64 tlut_hash = tlut_size ? GetHashHiresTexture(tlut, (int)tlut_size,
|
||||
g_ActiveConfig.iSafeTextureCache_ColorSamples) :
|
||||
0;
|
||||
name = StringFromFormat("%s_%08x_%i", SConfig::GetInstance().m_strUniqueID.c_str(),
|
||||
name = StringFromFormat("%s_%08x_%i", SConfig::GetInstance().m_strGameID.c_str(),
|
||||
(u32)(tex_hash ^ tlut_hash), (u16)format);
|
||||
if (s_textureMap.find(name) != s_textureMap.end())
|
||||
{
|
||||
|
Reference in New Issue
Block a user