summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/bus/generic/rom.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2014-10-15 07:19:47 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2014-10-15 07:19:47 +0000
commitc93ed344fbd26a9c2c49bdbc99014d8dc0cbe9ef (patch)
treea5017b8341bdadc5bcd1185ae49fe4c0a85424b8 /src/emu/bus/generic/rom.c
parenta4dd32afb6cbfaae0e452c90486060682ab1c31c (diff)
Cleanups and version bumpmame0155
Diffstat (limited to 'src/emu/bus/generic/rom.c')
-rw-r--r--src/emu/bus/generic/rom.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/emu/bus/generic/rom.c b/src/emu/bus/generic/rom.c
index 352acc4c141..fd2107eb798 100644
--- a/src/emu/bus/generic/rom.c
+++ b/src/emu/bus/generic/rom.c
@@ -4,18 +4,18 @@
Generic ROM emulation (for carts and ROM sockets)
-
+
This offers generic access to a ROM
-
+
generic_rom_plain : returns 0xff when the system reads beyond the end of the ROM
generic_rom_linear : maps linearly the ROM in the accessed area (i.e., read offset is masked with (ROM size - 1) )
generic_romram_plain : allows support for carts always containing ROM + RAM (e.g. X07)
-
+
TODO:
- possibly support linear mapping when non-power of 2 ROMs are mapped
-
+
***********************************************************************************************************/
@@ -120,4 +120,3 @@ WRITE8_MEMBER(generic_romram_plain_device::write_ram)
if (offset < m_ram.bytes())
m_ram[offset] = data;
}
-