Skip to content

Commit f14044c

Browse files
committed
Apply AP-fix to any modified ROMs of *GTA: Chinatown Wars*
1 parent 5322aab commit f14044c

File tree

8 files changed

+4
-6
lines changed

8 files changed

+4
-6
lines changed

retail/apfix/AP-patched games.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -186,11 +186,9 @@
186186
- GoldenEye 007 (Europe) (BJCP)
187187
- GoldenEye 007 (Spain) (BJCS)
188188
- GoldenEye 007 (Canada) (BJCZ)
189-
- Grand Theft Auto: Chinatown Wars (USA) (YGXE)
190-
- Grand Theft Auto: Chinatown Wars (Japan) (YGXJ)
191-
- Grand Theft Auto: Chinatown Wars (Europe) (YGXP)
192-
- Grand Theft Auto: Chinatown Wars (Chinese translation) (YGXP)
193-
- Grand Theft Auto: Chinatown Wars (Russian translation) (YGXP)
189+
- Grand Theft Auto: Chinatown Wars (USA) (Also applies to modified ROMs) (YGXE)
190+
- Grand Theft Auto: Chinatown Wars (Japan) (Also applies to modified ROMs) (YGXJ)
191+
- Grand Theft Auto: Chinatown Wars (Europe) (Also applies to modified ROMs) (YGXP)
194192
- Gyakuten Kenji 2 (Japan) (BXOJ)
195193
- "Gyakuten Kenji 2" English translation - "Ace Attorney Investigations: Miles Edgeworth: Prosecuter's Path" (BXOJ)
196194
- "Gyakuten Kenji 2" Spanish translation - "Ace Attorney Investigations: Miles Edgeworth: Prosecuter's Path" (BXOJ)

retail/apfix/files/YGXP-1F07.ips

-15 Bytes
Binary file not shown.

retail/apfix/files/YGXP-C899.ips

-15 Bytes
Binary file not shown.

retail/apfix/files/YGXP-E07B.ips

-15 Bytes
Binary file not shown.

retail/arm9/source/conf_sd.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ static void loadApFix(configuration* conf, const char* bootstrapPath, const char
309309
u16 crc;
310310
fread(&crc, 1, sizeof(crc), file);
311311

312-
if (crc == headerCRC) { // CRC matches
312+
if (crc == 0xFFFF || crc == headerCRC) { // CRC matches
313313
fread(&offset, 1, sizeof(offset), file);
314314
fread(&size, 1, sizeof(size), file);
315315
cheatVer = fgetc(file) & 1;

0 commit comments

Comments
 (0)