Skip to content

Commit 022fa9c

Browse files
committed
Add commented test code
1 parent 60dcfeb commit 022fa9c

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

retail/bootloader/source/arm7/patch_common.c

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,18 @@ void patchBinary(cardengineArm9* ce9, const tNDSHeader* ndsHeader, module_params
446446
*(u32*)0x20499C4 = 0xe12fff1e; //bx lr
447447
}*/
448448

449+
// Tony Hawk's Motion (USA)
450+
// Tony Hawk's Motion (Europe)
451+
/* else if (strncmp(romTid, "CTW", 3) == 0) {
452+
// Remove Motion Pak checks
453+
*(u16*)0x02002490 = 0;
454+
*(u32*)0x0202A834 = 0;
455+
*(u16*)0x0202A842 = 0;
456+
*(u16*)0x0202A844 = 0;
457+
*(u32*)0x02039BA8 = 0;
458+
*(u16*)0x02069EC8 = 0;
459+
} */
460+
449461
// Tropix! Your Island Getaway
450462
else if (strcmp(romTid, "CTXE") == 0) {
451463
extern u32 baseChipID;

retail/bootloaderi/source/arm7/patch_common.c

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16064,6 +16064,18 @@ void patchBinary(cardengineArm9* ce9, const tNDSHeader* ndsHeader, module_params
1606416064
*(u32*)0x02FFF000 = 0x021F7500;
1606516065
}
1606616066

16067+
// Tony Hawk's Motion (USA)
16068+
// Tony Hawk's Motion (Europe)
16069+
/* else if (strncmp(romTid, "CTW", 3) == 0) {
16070+
// Remove Motion Pak checks
16071+
*(u16*)0x02002490 = 0;
16072+
*(u32*)0x0202A834 = 0;
16073+
*(u16*)0x0202A842 = 0;
16074+
*(u16*)0x0202A844 = 0;
16075+
*(u32*)0x02039BA8 = 0;
16076+
*(u16*)0x02069EC8 = 0;
16077+
} */
16078+
1606716079
// Tropix! Your Island Getaway
1606816080
else if (strcmp(romTid, "CTXE") == 0) {
1606916081
extern u32 baseChipID;

0 commit comments

Comments
 (0)