Archived
1
0
Fork 0
forked from Mirror/Ryujinx
This repository has been archived on 2024-10-11. You can view files and clone it, but cannot push or open issues or pull requests.
jinx/Ryujinx.HLE
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
..
Exceptions hos: Cleanup the project (#2634) 2021-09-15 01:24:49 +02:00
FileSystem Update to LibHac 0.17.0 (#3878) 2022-11-23 18:32:35 +01:00
HOS ui: Fixes disposing on GTK/Avalonia and Firmware Messages on Avalonia (#3885) 2022-11-24 15:08:27 +01:00
Loaders Use new C# 11 u8 string literals (#3854) 2022-11-16 16:30:12 -03:00
Ui Removed unused usings. (#3593) 2022-08-18 18:04:54 +02:00
Utilities infra: Migrate to .NET 7 (#3795) 2022-11-09 20:22:43 +01:00
AssemblyInfo.cs Prevent raw Unicode control codes from showing on software keyboard applet. (#3845) 2022-11-16 23:53:17 +01:00
HLEConfiguration.cs hle: Some cleanup (#3210) 2022-03-22 20:46:16 +01:00
Homebrew.npdm Better process implementation (#491) 2018-11-28 20:18:09 -02:00
MemoryConfiguration.cs Update units of memory from decimal to binary prefixes (#3716) 2022-11-16 23:27:42 +01:00
PerformanceStatistics.cs Adjustments to framerate metric and addition of frametime (#2638) 2021-09-15 02:26:10 +02:00
Ryujinx.HLE.csproj Update to LibHac 0.17.0 (#3878) 2022-11-23 18:32:35 +01:00
Switch.cs Volume Hotkeys (#3500) 2022-10-02 09:38:37 +00:00