JinxRyu/Ryujinx/Ui
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
..
App Remove file error popup (#2547) 2021-09-11 20:59:11 +02:00
Applet misc: Move configuration management to the Ryujinx project (#2269) 2021-05-16 17:12:14 +02:00
Helper gui: Refactoring Part 1 (#1859) 2021-01-08 09:14:13 +01:00
Resources [ImgBot] Optimize images (#2205) 2021-04-14 01:20:30 +02:00
Widgets Update to LibHac 0.13.1 (#2475) 2021-08-12 23:56:24 +02:00
Windows Add a Multithreading layer for the GAL, multi-thread shader compilation at runtime (#2501) 2021-08-27 00:31:29 +02:00
GLRenderer.cs Add a Multithreading layer for the GAL, multi-thread shader compilation at runtime (#2501) 2021-08-27 00:31:29 +02:00
MainWindow.cs Implement a "Pause Emulation" option & hotkey (#2428) 2021-09-11 22:08:25 +02:00
MainWindow.glade Implement a "Pause Emulation" option & hotkey (#2428) 2021-09-11 22:08:25 +02:00
OpenToolkitBindingsContext.cs Miria: The Death of OpenTK 3 (#2194) 2021-04-14 12:28:43 +02:00
RendererWidgetBase.cs Implement a "Pause Emulation" option & hotkey (#2428) 2021-09-11 22:08:25 +02:00
SPBOpenGLContext.cs gtk3: Add base for future Vulkan integration (#2260) 2021-05-04 18:19:04 +02:00
StatusUpdatedEventArgs.cs gui: Refactoring Part 1 (#1859) 2021-01-08 09:14:13 +01:00
VKRenderer.cs gtk3: Add base for future Vulkan integration (#2260) 2021-05-04 18:19:04 +02:00