mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-02 14:58:03 +03:00
Merge pull request #4933 from Armada651/disable-cache
VideoBackends: Add a developer option to disable the shader cache.
This commit is contained in:
commit
f5d14e3691
8 changed files with 73 additions and 54 deletions
|
@ -89,6 +89,7 @@ void VideoConfig::Load(const std::string& ini_file)
|
|||
settings->Get("EnableValidationLayer", &bEnableValidationLayer, false);
|
||||
settings->Get("BackendMultithreading", &bBackendMultithreading, true);
|
||||
settings->Get("CommandBufferExecuteInterval", &iCommandBufferExecuteInterval, 100);
|
||||
settings->Get("ShaderCache", &bShaderCache, true);
|
||||
|
||||
settings->Get("SWZComploc", &bZComploc, true);
|
||||
settings->Get("SWZFreeze", &bZFreeze, true);
|
||||
|
@ -307,6 +308,7 @@ void VideoConfig::Save(const std::string& ini_file)
|
|||
settings->Set("EnableValidationLayer", bEnableValidationLayer);
|
||||
settings->Set("BackendMultithreading", bBackendMultithreading);
|
||||
settings->Set("CommandBufferExecuteInterval", iCommandBufferExecuteInterval);
|
||||
settings->Set("ShaderCache", bShaderCache);
|
||||
|
||||
settings->Set("SWZComploc", bZComploc);
|
||||
settings->Set("SWZFreeze", bZFreeze);
|
||||
|
|
|
@ -69,6 +69,7 @@ struct VideoConfig final
|
|||
bool bCrop; // Aspect ratio controls.
|
||||
bool bUseXFB;
|
||||
bool bUseRealXFB;
|
||||
bool bShaderCache;
|
||||
|
||||
// Enhancements
|
||||
int iMultisamples;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue