RyuKen/ARMeilleure
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
..
CodeGen Fix type mismatch in BitwiseAnd simplification (#2571) 2021-08-20 14:42:00 -03:00
Common Reduce JIT GC allocations (#2515) 2021-08-17 15:08:34 -03:00
Decoders Implement MSR instruction for A32 (#2585) 2021-08-27 00:07:44 +02:00
Diagnostics Reduce JIT GC allocations (#2515) 2021-08-17 15:08:34 -03:00
Instructions Implement MSR instruction for A32 (#2585) 2021-08-27 00:07:44 +02:00
IntermediateRepresentation Reduce JIT GC allocations (#2515) 2021-08-17 15:08:34 -03:00
Memory POWER - Performance Optimizations With Extensive Ramifications (#2286) 2021-05-24 22:52:44 +02:00
Signal Reduce JIT GC allocations (#2515) 2021-08-17 15:08:34 -03:00
State Implement a "Pause Emulation" option & hotkey (#2428) 2021-09-11 22:08:25 +02:00
Translation Fix type mismatch in BitwiseAnd simplification (#2571) 2021-08-20 14:42:00 -03:00
Allocators.cs Reduce JIT GC allocations (#2515) 2021-08-17 15:08:34 -03:00
ARMeilleure.csproj infra: Migrate to .NET 5 (#1694) 2020-11-15 19:27:15 +01:00
Optimizations.cs Add multi-level function table (#2228) 2021-05-29 18:06:28 -03:00
Statistics.cs Suppress warnings from fields never used or never assigned (CS0169 and CS0649) (#919) 2020-04-21 07:59:59 +10:00