Fix crashing in script runner mode (#840)

This commit is contained in:
Pk11 2024-02-20 12:13:57 -06:00 committed by GitHub
parent 399740b50e
commit 338a2aa98a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3061,6 +3061,7 @@ u32 GodMode(int entrypoint) {
u32 ScriptRunner(int entrypoint) { u32 ScriptRunner(int entrypoint) {
// init font and show splash // init font and show splash
if (!SetFont(NULL, 0)) return GODMODE_EXIT_POWEROFF; if (!SetFont(NULL, 0)) return GODMODE_EXIT_POWEROFF;
SetLanguage(NULL, 0);
SplashInit("scriptrunner mode"); SplashInit("scriptrunner mode");
u64 timer = timer_start(); u64 timer = timer_start();