summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/gamecom.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/machine/gamecom.c')
-rw-r--r--src/mess/machine/gamecom.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mess/machine/gamecom.c b/src/mess/machine/gamecom.c
index 75d69b049f6..c95e15fc0f2 100644
--- a/src/mess/machine/gamecom.c
+++ b/src/mess/machine/gamecom.c
@@ -640,15 +640,15 @@ int gamecom_state::common_load(device_image_interface &image, generic_slot_devic
UINT32 load_offset = 0;
if (size != 0x008000 && size != 0x040000 && size != 0x080000
- && size != 0x100000 && size != 0x1c0000 && size != 0x200000)
+ && size != 0x100000 && size != 0x1c0000 && size != 0x200000)
{
image.seterror(IMAGE_ERROR_UNSPECIFIED, "Unsupported cartridge size");
return IMAGE_INIT_FAIL;
}
-
+
if (size == 0x1c0000)
load_offset = 0x40000;
-
+
// in order to simplify banked access from the driver, we always allocate 0x200000,
slot->rom_alloc(0x200000, GENERIC_ROM8_WIDTH, ENDIANNESS_LITTLE);
// we load what we have
@@ -661,7 +661,7 @@ int gamecom_state::common_load(device_image_interface &image, generic_slot_devic
if (size < 0x080000) { memcpy(crt + 0x040000, crt, 0x040000); } /* ->512KB */
if (size < 0x100000) { memcpy(crt + 0x080000, crt, 0x080000); } /* ->1MB */
if (size < 0x1c0000) { memcpy(crt + 0x100000, crt, 0x100000); } /* -> >=1.8MB */
-
+
return IMAGE_INIT_PASS;
}