From 40e87c634ece65da3f740fcfbb6acb43e5cd71b3 Mon Sep 17 00:00:00 2001 From: Mary Date: Sun, 16 Apr 2023 16:50:30 +0200 Subject: [PATCH] Fix a crash in Ryujinx.Headless.SDL2 when loading an app (#4687) Caused by the recent application loader changes. --- Ryujinx.Headless.SDL2/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Ryujinx.Headless.SDL2/Program.cs b/Ryujinx.Headless.SDL2/Program.cs index 8dff6a1d09..35cc74f4f8 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();