summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/milton6805.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/milton6805.cpp')
-rw-r--r--src/mame/drivers/milton6805.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mame/drivers/milton6805.cpp b/src/mame/drivers/milton6805.cpp
index 1f9b0a1d4b3..6a61b74ce9d 100644
--- a/src/mame/drivers/milton6805.cpp
+++ b/src/mame/drivers/milton6805.cpp
@@ -107,9 +107,10 @@ private:
void prg_map(address_map &map);
};
-ADDRESS_MAP_START(milton_state::prg_map)
- AM_RANGE(0x800, 0xfff) AM_ROM AM_REGION("maincpu", 0) // Internal ROM
-ADDRESS_MAP_END
+void milton_state::prg_map(address_map &map)
+{
+ map(0x800, 0xfff).rom().region("maincpu", 0); // Internal ROM
+}
static INPUT_PORTS_START( milton )
INPUT_PORTS_END