Merge pull request #3506 from KaleviKolttonen/lode_runner_sg1000_rom_detection

Fix Lode Runner SG1000/SC-3000 ROM image detection
This commit is contained in:
ajrhacker 2018-05-01 11:44:18 -04:00 committed by GitHub
commit e23d59da45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -561,6 +561,10 @@ int sega8_cart_slot_device::get_cart_type(const uint8_t *ROM, uint32_t len) cons
}
}
// Lode Runner Japan Europe
if (len == 0x8000 && !strncmp((const char *)&ROM[0x226c], "LICENSEDFROMBRODERBUND@SOFTWARE@INC", 35))
type = SEGA8_BASE_ROM;
// Terebi Oekaki (TV Draw)
if (len >= 0x13b3 + 7 && !strncmp((const char *)&ROM[0x13b3], "annakmn", 7))
type = SEGA8_TEREBIOEKAKI;