aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPsyK0p4T <[email protected]>2023-03-25 10:50:06 +0100
committerGitHub <[email protected]>2023-03-25 10:50:06 +0100
commit21dec9cdc5efdff49a9f984c2c4d1d2aa5d2a77d (patch)
tree56a2a65e7f17e6860e4aa38820fa9e7e44dc6059
parent2284efe6c0fecb91d12cd08a1765b4e22b705017 (diff)
downloadcartreader-21dec9cdc5efdff49a9f984c2c4d1d2aa5d2a77d.tar.gz
cartreader-21dec9cdc5efdff49a9f984c2c4d1d2aa5d2a77d.zip
Update PCE.ino
-rw-r--r--Cart_Reader/PCE.ino4
1 files changed, 4 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;