Fix after merge

This commit is contained in:
Gericom
2026-01-11 13:25:56 +01:00
parent 7e3e7b43fe
commit 9d21940b60

View File

@@ -239,7 +239,7 @@ static void handleSetupHomebrewBootstub(u32 dldiRequiredSpace)
PatchCodeCollection patchCodeCollection;
void* patchSpace = (void*)&HOMEBREW_BOOTSTUB[1];
auto romHeader = (const nds_header_ntr_t*)TWL_SHARED_MEMORY->ntrSharedMem.romHeader;
if (!romHeader->IsTwlRom())
if (!romHeader->SupportsDsiMode())
{
patchSpace = (u8*)patchSpace - 0x2F00000 + 0x2300000;
}