fix something with dsi bios loading

this doesn't really seem to be needed but this is what upstream does
This commit is contained in:
CasualPokePlayer 2023-11-02 11:09:29 -07:00
parent 3ab1a32f34
commit be9a92ca07
2 changed files with 7 additions and 0 deletions

Binary file not shown.

View File

@ -262,6 +262,13 @@ const char* InitDSiBIOS()
Platform::FileRead(DSi::ARM9iBIOS, sizeof(DSi::ARM9iBIOS), 1, bios9i);
Platform::CloseFile(bios9i);
if (!Platform::GetConfigBool(Platform::DSi_FullBIOSBoot))
{
static const u8 branch[] = { 0xFE, 0xFF, 0xFF, 0xEA };
memcpy(DSi::ARM7iBIOS, branch, sizeof(branch));
memcpy(DSi::ARM9iBIOS, branch, sizeof(branch));
}
return nullptr;
}