Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketRobz committed Dec 25, 2023
1 parent 969a0d0 commit a242d0b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion retail/cardenginei/arm9/source/misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -339,14 +339,16 @@ void reset(u32 param, u32 tid2) {
while (REG_VCOUNT == 191);
}

if ((ce9->valueBits & isDlp) || *(u32*)(RESET_PARAM+0xC) > 0) {
#ifndef GSDD
if ((ce9->valueBits & isDlp) || *(u32*)(resetParams+0xC) > 0) {
u32 newIrqTable = sharedAddr[2];
ce9->valueBits = sharedAddr[1];
ce9->irqTable = (u32*)newIrqTable;
ce9->cardStruct0 = sharedAddr[4];
sharedAddr[4] = 0;
initialized = false;
}
#endif
#endif

sharedAddr[0] = 0x544F4F42; // 'BOOT'
Expand Down

0 comments on commit a242d0b

Please sign in to comment.