Fix Crash On Play Scene Inits (#5276)

This commit is contained in:
inspectredc
2025-04-02 12:40:43 +01:00
committed by GitHub
parent 9892bfaffa
commit a5a80bd8a2
2 changed files with 5 additions and 2 deletions

View File

@@ -15,6 +15,7 @@
#include "soh/Enhancements/debugger/performanceTimer.h"
#include <string>
#include <sstream>
#include <vector>
#include <set>
#include <libultraship/libultraship.h>

View File

@@ -507,11 +507,13 @@ void (*gSceneCmdHandlers[SCENE_CMD_ID_MAX])(PlayState*, SceneCmd*) = {
Scene_CommandMiscSettings, // SCENE_CMD_ID_MISC_SETTINGS
};
// clang-format off
RomFile sNaviMsgFiles[] = {
ROM_FILE(text / elf_message_field / elf_message_field),
ROM_FILE(text / elf_message_ydan / elf_message_ydan),
ROM_FILE(text/elf_message_field/elf_message_field),
ROM_FILE(text/elf_message_ydan/elf_message_ydan),
ROM_FILE_UNSET,
};
// clang-format on
s16 gLinkObjectIds[] = { OBJECT_LINK_BOY, OBJECT_LINK_CHILD };