From 6f16367c194f83f80ec5fc84a712ebb76e2b9533 Mon Sep 17 00:00:00 2001 From: Fabio Priuli Date: Wed, 5 Jun 2013 19:36:23 +0000 Subject: [PATCH] (MESS) pce: fixed sf2ce loading. nw. --- src/mess/machine/pce_slot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mess/machine/pce_slot.c b/src/mess/machine/pce_slot.c index 2551ef2bd22..a4286622710 100644 --- a/src/mess/machine/pce_slot.c +++ b/src/mess/machine/pce_slot.c @@ -94,7 +94,7 @@ void device_pce_cart_interface::rom_map_setup(UINT32 size) else { // setup the rom_bank_map array to faster ROM read - for (i = 0; i < size / 0x20000; i++) + for (i = 0; i < size / 0x20000 && i < 8; i++) rom_bank_map[i] = i; // fill up remaining blocks with mirrors