Skip to content

Commit

Permalink
Add commented test code
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketRobz committed Jul 13, 2024
1 parent 60dcfeb commit 022fa9c
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions retail/bootloader/source/arm7/patch_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,18 @@ void patchBinary(cardengineArm9* ce9, const tNDSHeader* ndsHeader, module_params
*(u32*)0x20499C4 = 0xe12fff1e; //bx lr
}*/

// Tony Hawk's Motion (USA)
// Tony Hawk's Motion (Europe)
/* else if (strncmp(romTid, "CTW", 3) == 0) {
// Remove Motion Pak checks
*(u16*)0x02002490 = 0;
*(u32*)0x0202A834 = 0;
*(u16*)0x0202A842 = 0;
*(u16*)0x0202A844 = 0;
*(u32*)0x02039BA8 = 0;
*(u16*)0x02069EC8 = 0;
} */

// Tropix! Your Island Getaway
else if (strcmp(romTid, "CTXE") == 0) {
extern u32 baseChipID;
Expand Down
12 changes: 12 additions & 0 deletions retail/bootloaderi/source/arm7/patch_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -16064,6 +16064,18 @@ void patchBinary(cardengineArm9* ce9, const tNDSHeader* ndsHeader, module_params
*(u32*)0x02FFF000 = 0x021F7500;
}

// Tony Hawk's Motion (USA)
// Tony Hawk's Motion (Europe)
/* else if (strncmp(romTid, "CTW", 3) == 0) {
// Remove Motion Pak checks
*(u16*)0x02002490 = 0;
*(u32*)0x0202A834 = 0;
*(u16*)0x0202A842 = 0;
*(u16*)0x0202A844 = 0;
*(u32*)0x02039BA8 = 0;
*(u16*)0x02069EC8 = 0;
} */

// Tropix! Your Island Getaway
else if (strcmp(romTid, "CTXE") == 0) {
extern u32 baseChipID;
Expand Down

0 comments on commit 022fa9c

Please sign in to comment.