Merge pull request #750 from PsyK0p4T/master

Add support for Dinoforce (World)
This commit is contained in:
sanni 2023-03-25 23:08:38 +01:00 committed by GitHub
commit 8d238f0fbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -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') { 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; 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; return rom_size;

View File

@ -328,6 +328,9 @@ Die Hard (Japan).pce
Digital Champ (World) (En,Ja) (WiiU Virtual Console).pce Digital Champ (World) (En,Ja) (WiiU Virtual Console).pce
17BA3032 17BA3032
Dinoforce (World) (Aftermarket) (Unl).pce
334300B3
Don Doko Don! (Japan).pce Don Doko Don! (Japan).pce
F42AA73E F42AA73E