gba: fixed games with RTC which were not loading from fullpath.

thanks BPzeBanshee for spotting the issue. nw.
This commit is contained in:
Fabio Priuli 2014-05-15 05:15:10 +00:00
parent 2978c6f362
commit 5b22660639

View File

@ -352,9 +352,9 @@ int gba_cart_slot_device::get_cart_type(UINT8 *ROM, UINT32 len)
}
}
if (type & GBA_CHIP_RTC)
if (chip & GBA_CHIP_RTC)
{
osd_printf_verbose("game has RTC - not emulated at the moment\n");
osd_printf_info("game has RTC - not emulated at the moment\n");
chip &= ~GBA_CHIP_RTC;
}