Skip to content

Commit 5b7a904

Browse files
committed
B4DS: Fix black screen crash for *AC:WW - Singleplayer Nookingtons*
1 parent 91a8dde commit 5b7a904

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

retail/arm9/source/conf_sd.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1917,6 +1917,10 @@ int loadFromSD(configuration* conf, const char *bootstrapPath) {
19171917
fread(&ndsArm7Size, sizeof(u32), 1, ndsFile);
19181918
}
19191919

1920+
if ((memcmp(romTid, "ADM", 3) == 0) && ndsArm7Size == 0x28ADC) {
1921+
ndsArm7Size -= 0xE4; // Fix for AC:WW - Singleplayer Nookingtons
1922+
}
1923+
19201924
u32 arm7allocOffset = 0;
19211925

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

0 commit comments

Comments
 (0)