summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/pce_rom.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/machine/pce_rom.c')
-rw-r--r--src/mess/machine/pce_rom.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mess/machine/pce_rom.c b/src/mess/machine/pce_rom.c
index 4fbef351d62..86474afa9a4 100644
--- a/src/mess/machine/pce_rom.c
+++ b/src/mess/machine/pce_rom.c
@@ -1,8 +1,8 @@
/***********************************************************************************************************
-
+
PC-Engine & Turbografx-16 cart emulation
-
+
***********************************************************************************************************/
@@ -98,7 +98,7 @@ READ8_MEMBER(pce_populous_device::read_cart)
int bank = offset / 0x20000;
if (m_ram && offset >= 0x80000 && offset < 0x88000)
return m_ram[offset];
-
+
return m_rom[rom_bank_map[bank] * 0x20000 + (offset & 0x1ffff)];
}
@@ -122,4 +122,3 @@ WRITE8_MEMBER(pce_sf2_device::write_cart)
if (offset >= 0x1ff0 && offset < 0x1ff4)
m_bank_base = offset & 3;
}
-