mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-05-24 05:22:07 +00:00
switch back to workstation and enabled low latency
This commit is contained in:
parent
4afae429f6
commit
75a3a1f055
2 changed files with 5 additions and 6 deletions
|
|
@ -580,6 +580,7 @@ namespace Ryujinx.Ava.Systems
|
|||
{
|
||||
_isActive = false;
|
||||
_playTimer.Stop();
|
||||
GCSettings.LatencyMode = GCLatencyMode.Interactive;
|
||||
}
|
||||
|
||||
private void Exit()
|
||||
|
|
@ -918,7 +919,7 @@ namespace Ryujinx.Ava.Systems
|
|||
appMetadata => appMetadata.UpdatePreGame()
|
||||
);
|
||||
_playTimer.Start();
|
||||
GCSettings.LatencyMode = GCLatencyMode.SustainedLowLatency;
|
||||
GCSettings.LatencyMode = GCLatencyMode.LowLatency;
|
||||
}
|
||||
|
||||
internal void Resume()
|
||||
|
|
@ -929,7 +930,7 @@ namespace Ryujinx.Ava.Systems
|
|||
_playTimer.Start();
|
||||
_viewModel.Title = TitleHelper.ActiveApplicationTitle(Device?.Processes.ActiveApplication, Program.Version, !ConfigurationState.Instance.ShowOldUI);
|
||||
Logger.Info?.Print(LogClass.Emulation, "Emulation was resumed.");
|
||||
GCSettings.LatencyMode = GCLatencyMode.SustainedLowLatency;
|
||||
GCSettings.LatencyMode = GCLatencyMode.LowLatency;
|
||||
}
|
||||
|
||||
internal void Pause()
|
||||
|
|
|
|||
|
|
@ -1,13 +1,11 @@
|
|||
{
|
||||
"configProperties": {
|
||||
"System.GC.Concurrent": true,
|
||||
"System.GC.Server": true,
|
||||
"System.GC.Server": false,
|
||||
"System.GC.RetainVM": true,
|
||||
"System.GC.ConserveMemory": 9,
|
||||
"System.Runtime.TieredCompilation.QuickJit": false,
|
||||
"System.Runtime.TieredCompilation.QuickJitForLoops": false,
|
||||
"System.GC.DynamicAdaptation": 0,
|
||||
"System.GC.HeapCount": 4,
|
||||
"System.GC.NoAffinitize": 0,
|
||||
"DOTNET_ReadyToRun": false,
|
||||
"DOTNET_TieredPGO": true
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue