mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-06-28 23:40:47 -07:00
Rewrite scheduler context switch code (#1786)
* Rewrite scheduler context switch code * Fix race in UnmapIpcRestorePermission * Fix thread exit issue that could leave the scheduler in a invalid state * Change context switch method to not wait on guest thread, remove spin wait, use SignalAndWait to pass control * Remove multi-core setting (it is always on now) * Re-enable assert * Remove multicore from default config and schema * Fix race in KTimeManager
This commit is contained in:
@ -115,11 +115,6 @@ namespace Ryujinx.HLE
|
||||
|
||||
System.PerformanceState.PerformanceMode = System.State.DockedMode ? PerformanceMode.Boost : PerformanceMode.Default;
|
||||
|
||||
if (ConfigurationState.Instance.System.EnableMulticoreScheduling)
|
||||
{
|
||||
System.EnableMultiCoreScheduling();
|
||||
}
|
||||
|
||||
System.EnablePtc = ConfigurationState.Instance.System.EnablePtc;
|
||||
|
||||
System.FsIntegrityCheckLevel = GetIntegrityCheckLevel();
|
||||
|
Reference in New Issue
Block a user