diff options
Diffstat (limited to 'src/devices/bus/gameboy/gb_slot.cpp')
-rw-r--r-- | src/devices/bus/gameboy/gb_slot.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/bus/gameboy/gb_slot.cpp b/src/devices/bus/gameboy/gb_slot.cpp index 7fbe8aaf49c..3b2cdb0b1f7 100644 --- a/src/devices/bus/gameboy/gb_slot.cpp +++ b/src/devices/bus/gameboy/gb_slot.cpp @@ -481,14 +481,14 @@ bool gb_cart_slot_device_base::is_mbc1col_game(const uint8_t *ROM, uint32_t len) /* Mortal Kombat I & II US */ "MORTALKOMBATI&II", }; - + const uint8_t rows = sizeof(internal_names) / sizeof(internal_names[0]); - + for (uint8_t i = 0x00; i < rows; ++i) { if (0 == memcmp(&ROM[0x134], &internal_names[i][0], name_length)) return true; } - + return false; } |