ryujinx-mirror/Ryujinx.Common
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
..
Collections GPU - Improve Memory Allocation (#1722) 2020-12-09 19:26:05 -03:00
Configuration Implement a "Pause Emulation" option & hotkey (#2428) 2021-09-11 22:08:25 +02:00
Extensions PrntStub: Add a way to print arrays (#711) 2019-06-27 13:11:51 +02:00
GraphicsDriver Data should not be public for nvapi unicode string 2021-04-18 17:34:01 +01:00
Logging no name: Mii Editor applet support (#2419) 2021-06-28 20:54:45 +02:00
Memory Separate GPU engines and make state follow official docs (part 1/2) (#2422) 2021-07-07 20:56:06 -03:00
Pools Add a Multithreading layer for the GAL, multi-thread shader compilation at runtime (#2501) 2021-08-27 00:31:29 +02:00
System Remove ForceDedicatedGpu, as the driver utilities will now do that. 2021-05-19 19:26:23 +01:00
SystemInfo Revise SystemInfo (#2047) 2021-03-01 15:22:00 +11:00
Utilities Miria: The Death of OpenTK 3 (#2194) 2021-04-14 12:28:43 +02:00
AsyncWorkQueue.cs New NVDEC and VIC implementation (#1384) 2020-07-12 05:07:01 +02:00
Hash128.cs Add support for HLE macros and accelerate MultiDrawElementsIndirectCount #2 (#2557) 2021-08-26 23:50:28 +02:00
PerformanceCounter.cs Rewrite scheduler context switch code (#1786) 2020-12-09 19:20:05 -03:00
ReactiveObject.cs Fix ReactiveObject initial event not being propagated with boolean types (#860) 2020-01-05 17:35:55 +01:00
ReferenceEqualityComparer.cs Only enumerate cached textures that are modified when flushing. (#918) 2020-02-07 08:49:26 +11:00
Ryujinx.Common.csproj Make windows DPI aware to display properly on high-resolution screens. (#1983) 2021-02-20 01:34:41 +01:00
XXHash128.cs Improvements with new .NET 5 functions or bugfixes (#1714) 2020-11-18 19:28:40 +01:00