Fix a crash in Ryujinx.Headless.SDL2 when loading an app (#4687)
Caused by the recent application loader changes.
This commit is contained in:
parent
79d1c190db
commit
40e87c634e
1 changed files with 2 additions and 2 deletions
|
@ -589,8 +589,6 @@ namespace Ryujinx.Headless.SDL2
|
||||||
|
|
||||||
_emulationContext = InitializeEmulationContext(window, renderer, options);
|
_emulationContext = InitializeEmulationContext(window, renderer, options);
|
||||||
|
|
||||||
SetupProgressHandler();
|
|
||||||
|
|
||||||
SystemVersion firmwareVersion = _contentManager.GetCurrentFirmwareVersion();
|
SystemVersion firmwareVersion = _contentManager.GetCurrentFirmwareVersion();
|
||||||
|
|
||||||
Logger.Notice.Print(LogClass.Application, $"Using Firmware Version: {firmwareVersion?.VersionString}");
|
Logger.Notice.Print(LogClass.Application, $"Using Firmware Version: {firmwareVersion?.VersionString}");
|
||||||
|
@ -693,6 +691,8 @@ namespace Ryujinx.Headless.SDL2
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SetupProgressHandler();
|
||||||
|
|
||||||
Translator.IsReadyForTranslation.Reset();
|
Translator.IsReadyForTranslation.Reset();
|
||||||
|
|
||||||
ExecutionEntrypoint();
|
ExecutionEntrypoint();
|
||||||
|
|
Reference in a new issue