mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-12-13 13:37:00 +00:00
misc: Move dirty hack related stuff into a separate viewmodel, only show slider when translation delay is enabled.
This commit is contained in:
parent
d10a478cce
commit
0ab5b41c4b
7 changed files with 108 additions and 85 deletions
|
|
@ -758,8 +758,8 @@ namespace Ryujinx.Ava.Utilities.Configuration
|
|||
|
||||
var shaderCompilationThreadSleep = hacks.FirstOrDefault(it =>
|
||||
it.Hack == DirtyHacks.ShaderCompilationThreadSleep);
|
||||
Hacks.EnableShaderCompilationThreadSleep.Value = shaderCompilationThreadSleep != null;
|
||||
Hacks.ShaderCompilationThreadSleepDelay.Value = shaderCompilationThreadSleep?.Value ?? 0;
|
||||
Hacks.EnableShaderTranslationDelay.Value = shaderCompilationThreadSleep != null;
|
||||
Hacks.ShaderTranslationDelay.Value = shaderCompilationThreadSleep?.Value ?? 0;
|
||||
}
|
||||
|
||||
if (configurationFileUpdated)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue