msx.c: Fixed mapper detection when loading from full path. Fixes MT05986.

This commit is contained in:
Wilbert Pol 2015-07-14 21:17:13 +02:00
parent 13967bb8a0
commit ee5bdcffe6

View File

@ -328,6 +328,7 @@ void msx_slot_cartridge_device::get_default_card_software(std::string &result)
if (type == NOMAPPER)
{
// Not identified through hashfile, try automatic detection
core_fread(m_file, &rom[0], length);
type = get_cart_type(&rom[0], length);
}