aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorsanni <[email protected]>2023-03-25 23:08:38 +0100
committerGitHub <[email protected]>2023-03-25 23:08:38 +0100
commit8d238f0fbc6b2fbc117a555b1587b773bab8bac1 (patch)
tree56a2a65e7f17e6860e4aa38820fa9e7e44dc6059
parent190d35293c9c059bd93cf1c4df9b2aec4ee0e987 (diff)
parent21dec9cdc5efdff49a9f984c2c4d1d2aa5d2a77d (diff)
downloadcartreader-8d238f0fbc6b2fbc117a555b1587b773bab8bac1.tar.gz
cartreader-8d238f0fbc6b2fbc117a555b1587b773bab8bac1.zip
Merge pull request #750 from PsyK0p4T/masterV12.4
Add support for Dinoforce (World)
-rw-r--r--Cart_Reader/PCE.ino4
-rw-r--r--sd/pce.txt3
2 files changed, 7 insertions, 0 deletions
diff --git a/Cart_Reader/PCE.ino b/Cart_Reader/PCE.ino
index 3fda2bc..5568810 100644
--- a/Cart_Reader/PCE.ino
+++ b/Cart_Reader/PCE.ino
@@ -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;
diff --git a/sd/pce.txt b/sd/pce.txt
index ebf6bb6..67c7e5f 100644
--- a/sd/pce.txt
+++ b/sd/pce.txt
@@ -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