diff options
author | Mary <mary@mary.zone> | 2023-04-16 16:50:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-16 16:50:30 +0200 |
commit | 40e87c634ece65da3f740fcfbb6acb43e5cd71b3 (patch) | |
tree | bdf1a767f1dc33b746b9c943ff1e8a8859ded952 | |
parent | 79d1c190dba48e405a833f654691e47509a29792 (diff) |
Fix a crash in Ryujinx.Headless.SDL2 when loading an app (#4687)1.1.716
Caused by the recent application loader changes.
-rw-r--r-- | Ryujinx.Headless.SDL2/Program.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Ryujinx.Headless.SDL2/Program.cs b/Ryujinx.Headless.SDL2/Program.cs index 8dff6a1d..35cc74f4 100644 --- a/Ryujinx.Headless.SDL2/Program.cs +++ b/Ryujinx.Headless.SDL2/Program.cs @@ -589,8 +589,6 @@ namespace Ryujinx.Headless.SDL2 _emulationContext = InitializeEmulationContext(window, renderer, options); - SetupProgressHandler(); - SystemVersion firmwareVersion = _contentManager.GetCurrentFirmwareVersion(); Logger.Notice.Print(LogClass.Application, $"Using Firmware Version: {firmwareVersion?.VersionString}"); @@ -693,6 +691,8 @@ namespace Ryujinx.Headless.SDL2 return false; } + SetupProgressHandler(); + Translator.IsReadyForTranslation.Reset(); ExecutionEntrypoint(); |