0
0
Fork 0
mirror of https://github.com/ryujinx-mirror/ryujinx.git synced 2024-12-22 23:05:46 +00:00
ryujinx-fork/Ryujinx.Ava
Ac_K a1ddaa2736
ui: Fixes disposing on GTK/Avalonia and Firmware Messages on Avalonia (#3885)
* ui: Only wait on _exitEvent when MainLoop is active under GTK

This fixes a dispose issue under Horizon/GTK, we don't check if the ApplicationClient is null so it throw NCE. We don't check if the main loop is active and waiting an event which is set in the main loop... So that could lead to a freeze.

Everything works fine in GTK now.

Related issue: https://github.com/Ryujinx/Ryujinx/issues/3873

As a side note, same kind of issue appear in Avalonia UI too. Firmware's popup doesn't show anything and the emulator just freeze.

* TSRBerry's change

Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>

* Fix Avalonia crashing/freezing

* Add Avalonia OpenGL fixes

* Fix firmware popup on windows

* Fixes everything

* Add _initialized bool to VulkanRenderer and OpenGL Window

Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
2022-11-24 15:08:27 +01:00
..
Assets Reword the description of the 6GB expand DRAM hack to be less tantalizing (#3870) 2022-11-20 17:15:57 +00:00
Common ava: Fix JsonSerializer warnings (#3884) 2022-11-23 17:55:26 +00:00
Input Avalonia - Use embedded window for avalonia (#3674) 2022-09-19 15:05:26 -03:00
Modules/Updater Fix: Arguments Break when Updating (#3744) 2022-10-18 23:41:16 +00:00
Ui ui: Fixes disposing on GTK/Avalonia and Firmware Messages on Avalonia (#3885) 2022-11-24 15:08:27 +01:00
App.axaml UI: Some Avalonia cleanup (#3358) 2022-06-23 15:59:02 -03:00
App.axaml.cs Ryujinx.Ava: Add missing redefinition of app name (#3890) 2022-11-24 14:52:39 +01:00
AppHost.cs ui: Fixes disposing on GTK/Avalonia and Firmware Messages on Avalonia (#3885) 2022-11-24 15:08:27 +01:00
Program.cs UI: Allow overriding graphics backend + Move command line parser into a new class (#3707) 2022-11-12 20:36:36 -03:00
Ryujinx.Ava.csproj nuget: bump Avalonia from 0.10.15 to 0.10.18 (#3817) 2022-11-24 01:26:53 +00:00
Ryujinx.ico Avalonia UI - Part 1 (#3270) 2022-05-15 13:30:15 +02:00