summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/neptunp2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/neptunp2.cpp')
-rw-r--r--src/mame/drivers/neptunp2.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mame/drivers/neptunp2.cpp b/src/mame/drivers/neptunp2.cpp
index cbe79e63a35..7042f8c3077 100644
--- a/src/mame/drivers/neptunp2.cpp
+++ b/src/mame/drivers/neptunp2.cpp
@@ -28,6 +28,8 @@ public:
uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
void neptunp2(machine_config &config);
+ void neptunp2_io(address_map &map);
+ void neptunp2_map(address_map &map);
protected:
// devices
@@ -52,7 +54,7 @@ READ8_MEMBER( neptunp2_state::test_r )
return machine().rand();
}
-static ADDRESS_MAP_START( neptunp2_map, AS_PROGRAM, 8, neptunp2_state )
+ADDRESS_MAP_START(neptunp2_state::neptunp2_map)
AM_RANGE(0x00000, 0xbffff) AM_ROM
AM_RANGE(0xe0000, 0xeffff) AM_RAM
@@ -69,7 +71,7 @@ static ADDRESS_MAP_START( neptunp2_map, AS_PROGRAM, 8, neptunp2_state )
AM_RANGE(0xffff0, 0xfffff) AM_ROM
ADDRESS_MAP_END
-static ADDRESS_MAP_START( neptunp2_io, AS_IO, 8, neptunp2_state )
+ADDRESS_MAP_START(neptunp2_state::neptunp2_io)
ADDRESS_MAP_END