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:
parent
3ab1a32f34
commit
be9a92ca07
Binary file not shown.
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue