mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-21 12:04:56 +00:00
create shader cache directoy
This commit is contained in:
parent
b3675d15dc
commit
21b83b436c
1 changed files with 3 additions and 0 deletions
|
@ -420,6 +420,9 @@ void ProgramShaderCache::Init(void)
|
|||
}
|
||||
else
|
||||
{
|
||||
if (!File::Exists(File::GetUserPath(D_SHADERCACHE_IDX)))
|
||||
File::CreateDir(File::GetUserPath(D_SHADERCACHE_IDX).c_str());
|
||||
|
||||
char cache_filename[MAX_PATH];
|
||||
sprintf(cache_filename, "%sogl-%s-shaders.cache", File::GetUserPath(D_SHADERCACHE_IDX).c_str(),
|
||||
SConfig::GetInstance().m_LocalCoreStartupParameter.m_strUniqueID.c_str());
|
||||
|
|
Loading…
Add table
Reference in a new issue