mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-11-15 09:35:27 +00:00
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
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue