Skip to content

Commit

Permalink
B4DS: Fix black screen crash for *AC:WW - Singleplayer Nookingtons*
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketRobz committed Sep 26, 2024
1 parent 91a8dde commit 5b7a904
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions retail/arm9/source/conf_sd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1917,6 +1917,10 @@ int loadFromSD(configuration* conf, const char *bootstrapPath) {
fread(&ndsArm7Size, sizeof(u32), 1, ndsFile);
}

if ((memcmp(romTid, "ADM", 3) == 0) && ndsArm7Size == 0x28ADC) {
ndsArm7Size -= 0xE4; // Fix for AC:WW - Singleplayer Nookingtons
}

u32 arm7allocOffset = 0;

for (int i = 0; i < 0x80; i += 4) {
Expand Down

0 comments on commit 5b7a904

Please sign in to comment.