From ee5bdcffe6e7fc3d41cc579e1fad525546bcbd1f Mon Sep 17 00:00:00 2001 From: Wilbert Pol Date: Tue, 14 Jul 2015 21:17:13 +0200 Subject: [PATCH] msx.c: Fixed mapper detection when loading from full path. Fixes MT05986. --- src/emu/bus/msx_slot/cartridge.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/emu/bus/msx_slot/cartridge.c b/src/emu/bus/msx_slot/cartridge.c index d6ddbe5bda8..a7d79be1a51 100644 --- a/src/emu/bus/msx_slot/cartridge.c +++ b/src/emu/bus/msx_slot/cartridge.c @@ -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); }