Skip to content

Commit

Permalink
B4DS: Fix ESRB screen not showing for DSi-Exclusive cart games
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketRobz committed Sep 9, 2024
1 parent 1e06b00 commit fd753c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion retail/bootloader/source/arm7/main.arm7.c
Original file line number Diff line number Diff line change
Expand Up @@ -1084,7 +1084,7 @@ int arm7_main(void) {
ndsHeader = loadHeader(&dsiHeaderTemp, moduleParams);
const char* romTid = getRomTid(ndsHeader);

if (dsiHeaderTemp.ndshdr.unitCode < 3 && romTid[0] != 'K' && romTid[0] != 'Z' && memcmp(romTid, "UBR", 3) != 0 && memcmp(romTid, "HND", 3) != 0 && memcmp(romTid, "HNE", 3) != 0 && srlAddr == 0 && (softResetParams[0] == 0 || softResetParams[0] == 0xFFFFFFFF)) {
if (!(accessControl & BIT(4)) && srlAddr == 0 && memcmp(romTid, "UBR", 3) != 0 && memcmp(romTid, "HND", 3) != 0 && memcmp(romTid, "HNE", 3) != 0 && srlAddr == 0 && (softResetParams[0] == 0 || softResetParams[0] == 0xFFFFFFFF)) {
esrbOutput();
}

Expand Down

0 comments on commit fd753c6

Please sign in to comment.