1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-27 15:26:01 +00:00
Ryujinx/Ryujinx.HLE/HOS
Ac_K a1ddaa2736
ui: Fixes disposing on GTK/Avalonia and Firmware Messages on Avalonia ()
* 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
..
Applets Prevent raw Unicode control codes from showing on software keyboard applet. () 2022-11-16 23:53:17 +01:00
Diagnostics/Demangler Avoid allocations in .Parse methods () 2022-10-18 23:31:34 +00:00
Ipc misc: Make PID unsigned long instead of long () 2022-02-09 17:18:07 -03:00
Kernel Update units of memory from decimal to binary prefixes () 2022-11-16 23:27:42 +01:00
Services Update to LibHac 0.17.0 () 2022-11-23 18:32:35 +01:00
SystemState Use Enum and Delegate.CreateDelegate generic overloads () 2022-02-13 10:50:07 -03:00
Tamper Avoid allocations in .Parse methods () 2022-10-18 23:31:34 +00:00
ApplicationLoader.cs Update to LibHac 0.17.0 () 2022-11-23 18:32:35 +01:00
ArmProcessContext.cs Refactor CPU interface to allow the implementation of other CPU emulators () 2022-05-31 16:29:35 -03:00
ArmProcessContextFactory.cs Refactor CPU interface to allow the implementation of other CPU emulators () 2022-05-31 16:29:35 -03:00
HomebrewRomFsStream.cs Misc cleanup () 2019-07-02 04:39:22 +02:00
Horizon.cs ui: Fixes disposing on GTK/Avalonia and Firmware Messages on Avalonia () 2022-11-24 15:08:27 +01:00
IdDictionary.cs Implement GPU syncpoints () 2020-04-19 11:25:57 +10:00
LibHacHorizonManager.cs Update to LibHac 0.17.0 () 2022-11-23 18:32:35 +01:00
ModLoader.cs Remove save data creation prompt () 2022-04-08 11:09:35 +02:00
ProgramLoader.cs Rewrite kernel memory allocator () 2022-06-22 12:28:14 -03:00
ResultCode.cs Refactoring result codes () 2019-07-14 16:04:38 -03:00
ServiceCtx.cs hos: Cleanup the project () 2021-09-15 01:24:49 +02:00
TamperMachine.cs Removed unused usings. () 2022-08-18 18:04:54 +02:00
UserChannelPersistence.cs Fix exiting emulator with multi programs () 2020-10-10 00:52:11 +02:00