mirror of
https://github.com/LNH-team/pico-loader.git
synced 2026-06-02 01:06:50 +02:00
Fix after merge
This commit is contained in:
@@ -239,7 +239,7 @@ static void handleSetupHomebrewBootstub(u32 dldiRequiredSpace)
|
|||||||
PatchCodeCollection patchCodeCollection;
|
PatchCodeCollection patchCodeCollection;
|
||||||
void* patchSpace = (void*)&HOMEBREW_BOOTSTUB[1];
|
void* patchSpace = (void*)&HOMEBREW_BOOTSTUB[1];
|
||||||
auto romHeader = (const nds_header_ntr_t*)TWL_SHARED_MEMORY->ntrSharedMem.romHeader;
|
auto romHeader = (const nds_header_ntr_t*)TWL_SHARED_MEMORY->ntrSharedMem.romHeader;
|
||||||
if (!romHeader->IsTwlRom())
|
if (!romHeader->SupportsDsiMode())
|
||||||
{
|
{
|
||||||
patchSpace = (u8*)patchSpace - 0x2F00000 + 0x2300000;
|
patchSpace = (u8*)patchSpace - 0x2F00000 + 0x2300000;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user