Skip to content

Commit

Permalink
Merge pull request #750 from PsyK0p4T/master
Browse files Browse the repository at this point in the history
Add support for Dinoforce (World)
  • Loading branch information
sanni authored Mar 25, 2023
2 parents 190d352 + 21dec9c commit 8d238f0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Cart_Reader/PCE.ino
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,10 @@ uint32_t detect_rom_size_PCE(void) {
if (read_byte_PCE(0x1F26) == 'P' && read_byte_PCE(0x1F27) == 'O' && read_byte_PCE(0x1F28) == 'P' && read_byte_PCE(0x1F29) == 'U' && read_byte_PCE(0x1F2A) == 'L' && read_byte_PCE(0x1F2B) == 'O' && read_byte_PCE(0x1F2C) == 'U' && read_byte_PCE(0x1F2D) == 'S') {
rom_size = 512;
}
//Dinoforce (World)
if (read_byte_PCE(0x15A) == 'D' && read_byte_PCE(0x15B) == 'I' && read_byte_PCE(0x15C) == 'N' && read_byte_PCE(0x15D) == 'O' && read_byte_PCE(0x15E) == '-' && read_byte_PCE(0x15F) == 'F' && read_byte_PCE(0x160) == 'O' && read_byte_PCE(0x161) == 'R' && read_byte_PCE(0x162) == 'C' && read_byte_PCE(0x163) == 'E') {
rom_size = 512;
}
}

return rom_size;
Expand Down
3 changes: 3 additions & 0 deletions sd/pce.txt
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,9 @@ Die Hard (Japan).pce
Digital Champ (World) (En,Ja) (WiiU Virtual Console).pce
17BA3032

Dinoforce (World) (Aftermarket) (Unl).pce
334300B3

Don Doko Don! (Japan).pce
F42AA73E

Expand Down

0 comments on commit 8d238f0

Please sign in to comment.