Ryujinx-git/Ryujinx.HLE/HOS
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
..
Applets hid: Rewrite shared memory management (#2257) 2021-05-02 22:01:30 +02:00
Diagnostics/Demangler Misc cleanup (#708) 2019-07-02 04:39:22 +02:00
Font POWER - Performance Optimizations With Extensive Ramifications (#2286) 2021-05-24 22:52:44 +02:00
Ipc ipc: Remove size checks for buffer type 0x21/0x22 (#2387) 2021-06-22 19:32:22 +02:00
Kernel Implement a "Pause Emulation" option & hotkey (#2428) 2021-09-11 22:08:25 +02:00
Services Update to LibHac 0.13.1 (#2475) 2021-08-12 23:56:24 +02:00
SystemState aoc: Fixes some inconsistencies (#2434) 2021-07-06 20:17:06 +02:00
Tamper Update TamperMachine and disable write-to-code prevention (#2506) 2021-08-04 22:05:17 +02:00
ApplicationLoader.cs Update to LibHac 0.13.1 (#2475) 2021-08-12 23:56:24 +02:00
ArmProcessContext.cs Initial support for separate GPU address spaces (#2394) 2021-06-29 19:32:02 +02:00
ArmProcessContextFactory.cs Initial support for separate GPU address spaces (#2394) 2021-06-29 19:32:02 +02:00
HomebrewRomFsStream.cs Misc cleanup (#708) 2019-07-02 04:39:22 +02:00
Horizon.cs Implement a "Pause Emulation" option & hotkey (#2428) 2021-09-11 22:08:25 +02:00
IdDictionary.cs Implement GPU syncpoints (#980) 2020-04-19 11:25:57 +10:00
LibHacHorizonManager.cs Bugfix LibHac update to 0.13.3 and remove SD card workaround (#2579) 2021-08-26 23:18:49 +02:00
ModLoader.cs Update to LibHac 0.13.1 (#2475) 2021-08-12 23:56:24 +02:00
ProgramLoader.cs Update to LibHac 0.13.1 (#2475) 2021-08-12 23:56:24 +02:00
ResultCode.cs Refactoring result codes (#731) 2019-07-14 16:04:38 -03:00
ServiceCtx.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
TamperMachine.cs Update TamperMachine and disable write-to-code prevention (#2506) 2021-08-04 22:05:17 +02:00
UserChannelPersistence.cs Fix exiting emulator with multi programs (#1590) 2020-10-10 00:52:11 +02:00