sega8_slot: fixed terebioe (and some other games) trying to load more bytes than available. nw.

This commit is contained in:
Fabio Priuli 2014-05-13 17:07:17 +00:00
parent 55bf85dc99
commit a5e97e71ac

View File

@ -369,7 +369,7 @@ bool sega8_cart_slot_device::call_load()
fread(ROM, len);
}
else
memcpy(ROM, get_software_region("rom") + offset, len);
memcpy(ROM, get_software_region("rom"), get_software_region_length("rom"));
/* check the image */
if (verify_cart(ROM, len) == IMAGE_VERIFY_FAIL)