We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41db876 commit 67ce019Copy full SHA for 67ce019
source/arm11/open_agb_firm.c
@@ -69,7 +69,8 @@ static u32 fixRomPadding(const u32 romFileSize)
69
}
70
71
// Fake "open bus" padding.
72
- makeOpenBusPaddingFast((u32*)(romLoc + mirroredSize));
+ if(romSize < LGY_MAX_ROM_SIZE)
73
+ makeOpenBusPaddingFast((u32*)(romLoc + mirroredSize));
74
75
// We don't return the mirrored size because the db hashes are over unmirrored dumps.
76
return romSize;
0 commit comments