mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-27 06:48:33 +00:00
Unify the way of setting game ID, title ID, revision
The existing code from ConfigManager, ES and MIOS is merged into a new set of functions called SetRunningGameMetadata.
This commit is contained in:
parent
883bec873f
commit
ced1614cac
21 changed files with 126 additions and 117 deletions
|
@ -437,7 +437,7 @@ void ProgramShaderCache::Init()
|
|||
|
||||
std::string cache_filename =
|
||||
StringFromFormat("%sogl-%s-shaders.cache", File::GetUserPath(D_SHADERCACHE_IDX).c_str(),
|
||||
SConfig::GetInstance().m_strGameID.c_str());
|
||||
SConfig::GetInstance().GetGameID().c_str());
|
||||
|
||||
ProgramShaderCacheInserter inserter;
|
||||
g_program_disk_cache.OpenAndRead(cache_filename, inserter);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue