diff options
author | Wilbert Pol <wilbertpol@users.noreply.github.com> | 2016-05-22 16:27:19 +0200 |
---|---|---|
committer | Wilbert Pol <wilbertpol@users.noreply.github.com> | 2016-05-22 16:27:19 +0200 |
commit | 3636a159edb96bb13cb3b4d0f26be63b48d9e5cf (patch) | |
tree | 2618aebc78e749fed9cfd4b7b2b1825b05dd1566 | |
parent | 65f7a98bfd908e5ed2dea764c93d09aeba971347 (diff) |
gb_slot.cpp: Fixed incorrect mapper detection for "Is that a demo in your pocket?" (partial fix for MT06057) (nw)
-rw-r--r-- | src/devices/bus/gameboy/gb_slot.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/devices/bus/gameboy/gb_slot.cpp b/src/devices/bus/gameboy/gb_slot.cpp index 18f2ca83c21..d617143196a 100644 --- a/src/devices/bus/gameboy/gb_slot.cpp +++ b/src/devices/bus/gameboy/gb_slot.cpp @@ -557,8 +557,9 @@ int base_gb_cart_slot_device::get_cart_type(UINT8 *ROM, UINT32 len) // printf("Li Cheng %d\n", count); type = GB_MBC_LICHENG; } - if (count == 4138 || count == 4125) + if ((count == 4138 || count == 4125) && len >= 2097152) { + // All known sintax (raw) dumps are at least 2097152 bytes in size // Zhi Huan Wang uses 4138 // most sintax use 4125 // printf("Sintax %d!\n", count); |