0
0
Fork 0
mirror of https://github.com/ryujinx-mirror/ryujinx.git synced 2024-12-23 20:25:45 +00:00
ryujinx-fork/Ryujinx.HLE/HOS/Kernel/Threading
mpnico 117e32a6ff
Implement a "Pause Emulation" option & hotkey (#2428)
* Add a "Pause Emulation" option and hotkey

Closes Ryujinx#1604

* Refactoring how pause is handled

* Applied suggested changes from review

* Applied suggested fixes

* Pass correct suspend type to threads for suspend/resume

* Fix NRE after stoping emulation

* Removing SimulateWakeUpMessage call after resuming emulation

* Skip suspending non game process

* Pause the tickCounter in the ExecutionContext

* Refactoring tickCounter pause/resume as suggested

* Fix Config migration to add pause hotkey

* Fixed pausing only application threads

* Fix exiting emulator while paused

* Avoid pause/resume while already paused/resumed

* Cleanup unused code

* Avoid restarting audio if stopping emulation while in pause.

* Added suggested changes

* Fix ConfigurationState
2021-09-11 22:08:25 +02:00
..
ArbitrationType.cs Refactor SVC handler (#540) 2018-12-18 03:33:36 -02:00
KAddressArbiter.cs Update KAddressArbiter implementation to 11.x kernel (#1851) 2021-01-01 14:59:26 -03:00
KConditionVariable.cs Rewrite scheduler context switch code (#1786) 2020-12-09 19:20:05 -03:00
KCriticalSection.cs Rewrite scheduler context switch code (#1786) 2020-12-09 19:20:05 -03:00
KEvent.cs Move kernel state out of the Horizon class (#1107) 2020-05-04 13:41:29 +10:00
KPriorityQueue.cs Rewrite scheduler context switch code (#1786) 2020-12-09 19:20:05 -03:00
KReadableEvent.cs Move kernel state out of the Horizon class (#1107) 2020-05-04 13:41:29 +10:00
KScheduler.cs Fix a specific core migration bug on the scheduler (#2271) 2021-05-11 13:18:50 -03:00
KSynchronization.cs Rewrite scheduler context switch code (#1786) 2020-12-09 19:20:05 -03:00
KThread.cs Implement a "Pause Emulation" option & hotkey (#2428) 2021-09-11 22:08:25 +02:00
KThreadContext.cs Rewrite scheduler context switch code (#1786) 2020-12-09 19:20:05 -03:00
KWritableEvent.cs Move kernel state out of the Horizon class (#1107) 2020-05-04 13:41:29 +10:00
SignalType.cs Refactor SVC handler (#540) 2018-12-18 03:33:36 -02:00
ThreadSchedState.cs Refactor SVC handler (#540) 2018-12-18 03:33:36 -02:00
ThreadType.cs Refactor SVC handler (#540) 2018-12-18 03:33:36 -02:00