Renderers: Make shader cache path a prefix instead of directory

This commit is contained in:
Connor McLaughlin
2020-07-04 20:45:54 +10:00
parent b9ffca1ddf
commit f396a2c373
9 changed files with 11 additions and 14 deletions

View File

@ -39,7 +39,7 @@ bool GPU_HW_OpenGL::Initialize(HostDisplay* host_display, System* system, DMA* d
SetCapabilities(host_display);
m_shader_cache.Open(IsGLES(), system->GetHostInterface()->GetUserDirectoryRelativePath("cache"));
m_shader_cache.Open(IsGLES(), system->GetHostInterface()->GetShaderCacheBasePath());
if (!GPU_HW::Initialize(host_display, system, dma, interrupt_controller, timers))
return false;