mirror of
https://github.com/holub/mame
synced 2025-07-05 01:48:29 +03:00
sega8_slot: fixed terebioe (and some other games) trying to load more bytes than available. nw.
This commit is contained in:
parent
55bf85dc99
commit
a5e97e71ac
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user