JinxRyu/Ryujinx.HLE/HOS/Kernel/Process
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
..
HleProcessDebugger.cs Fix guest stack trace inexistent function names (#2326) 2021-05-30 20:53:02 +02:00
IProcessContext.cs IPC refactor part 2: Use ReplyAndReceive on HLE services and remove special handling from kernel (#1458) 2020-12-02 00:23:43 +01:00
IProcessContextFactory.cs Initial support for separate GPU address spaces (#2394) 2021-06-29 19:32:02 +02:00
KContextIdManager.cs Refactor SVC handler (#540) 2018-12-18 03:33:36 -02:00
KHandleEntry.cs Improve kernel IPC implementation (#550) 2019-01-18 20:26:39 -02:00
KHandleTable.cs Rewrite scheduler context switch code (#1786) 2020-12-09 19:20:05 -03:00
KProcess.cs Implement a "Pause Emulation" option & hotkey (#2428) 2021-09-11 22:08:25 +02:00
KProcessCapabilities.cs POWER - Performance Optimizations With Extensive Ramifications (#2286) 2021-05-24 22:52:44 +02:00
KTlsPageInfo.cs POWER - Performance Optimizations With Extensive Ramifications (#2286) 2021-05-24 22:52:44 +02:00
KTlsPageManager.cs POWER - Performance Optimizations With Extensive Ramifications (#2286) 2021-05-24 22:52:44 +02:00
ProcessContext.cs IPC refactor part 2: Use ReplyAndReceive on HLE services and remove special handling from kernel (#1458) 2020-12-02 00:23:43 +01:00
ProcessContextFactory.cs Initial support for separate GPU address spaces (#2394) 2021-06-29 19:32:02 +02:00
ProcessCreationFlags.cs IPC refactor part 2: Use ReplyAndReceive on HLE services and remove special handling from kernel (#1458) 2020-12-02 00:23:43 +01:00
ProcessCreationInfo.cs IPC refactor part 2: Use ReplyAndReceive on HLE services and remove special handling from kernel (#1458) 2020-12-02 00:23:43 +01:00
ProcessState.cs Refactor SVC handler (#540) 2018-12-18 03:33:36 -02:00
ProcessTamperInfo.cs Update TamperMachine and disable write-to-code prevention (#2506) 2021-08-04 22:05:17 +02:00