This commit is contained in:
cbartondock 2026-03-03 14:04:04 -08:00
parent 8904117beb
commit 543c1afa64
2 changed files with 2 additions and 3 deletions

View File

@ -265,7 +265,6 @@ void SConfig::SetRunningGameMetadata(const std::string& game_id, const std::stri
DolphinAnalytics::Instance().ReportGameStart();
}
void SConfig::SetElfDolID(const std::string& game_id)
{
std::lock_guard<std::recursive_mutex> lock(m_metadata_lock);

View File

@ -89,10 +89,10 @@ void HiresTexture::Update()
OSD::AddMessage(fmt::format("Game ID '{}' used to load textures", game_id), 10000);
OSD::AddMessage(fmt::format("ELF/DOL Game ID '{}'", game_id_elf_dol), 10000);
// If there is an elf/dol id, use that. Otherwise, fallback to the game id.
const std::set<std::string> texture_directories =
GetTextureDirectoriesWithGameId(File::GetUserPath(D_HIRESTEXTURES_IDX), game_id_elf_dol.length() > 0 ? game_id_elf_dol : game_id);
GetTextureDirectoriesWithGameId(File::GetUserPath(D_HIRESTEXTURES_IDX),
game_id_elf_dol.length() > 0 ? game_id_elf_dol : game_id);
constexpr auto extensions = std::to_array<std::string_view>({".png", ".dds"});