summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/mgames.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mgames.cpp')
-rw-r--r--src/mame/drivers/mgames.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/drivers/mgames.cpp b/src/mame/drivers/mgames.cpp
index 6ed1136deb8..1909f8fb10f 100644
--- a/src/mame/drivers/mgames.cpp
+++ b/src/mame/drivers/mgames.cpp
@@ -251,6 +251,7 @@ public:
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
void mgames(machine_config &config);
+ void main_map(address_map &map);
};
@@ -523,7 +524,7 @@ WRITE8_MEMBER(mgames_state::outport7_w)
*/
-static ADDRESS_MAP_START( main_map, AS_PROGRAM, 8, mgames_state )
+ADDRESS_MAP_START(mgames_state::main_map)
AM_RANGE(0x0000, 0x2fff) AM_ROM
// AM_RANGE(0x0158, 0x0158) AM_WRITE (muxed_w)
AM_RANGE(0x3800, 0x38ff) AM_RAM AM_SHARE("nvram") /* NVRAM = 2x SCM5101E */