summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/itgamble.cpp
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2018-02-01 10:04:01 +0100
committer Olivier Galibert <galibert@pobox.com>2018-02-12 10:04:52 +0100
commitc5219643162cb7d2a8688425a09008d28c8e2437 (patch)
treef2775ca3b1770ab0d3fb568f0bdd6d9212c68bf6 /src/mame/drivers/itgamble.cpp
parent09b6ce46873b38de9030a3c0378ff327f17af881 (diff)
API change: Memory maps are now methods of the owner class [O. Galibert]
Also, a lot more freedom happened, that's going to be more visible soon.
Diffstat (limited to 'src/mame/drivers/itgamble.cpp')
-rw-r--r--src/mame/drivers/itgamble.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/drivers/itgamble.cpp b/src/mame/drivers/itgamble.cpp
index 9aa7073b728..2f49385b182 100644
--- a/src/mame/drivers/itgamble.cpp
+++ b/src/mame/drivers/itgamble.cpp
@@ -76,6 +76,7 @@ public:
void mnumber(machine_config &config);
void itgamble(machine_config &config);
+ void itgamble_map(address_map &map);
protected:
// devices
@@ -107,7 +108,7 @@ uint32_t itgamble_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
* Memory map information *
*************************/
-static ADDRESS_MAP_START( itgamble_map, AS_PROGRAM, 16, itgamble_state )
+ADDRESS_MAP_START(itgamble_state::itgamble_map)
ADDRESS_MAP_GLOBAL_MASK(0xffffff)
AM_RANGE(0x000000, 0xffffff) AM_ROM
ADDRESS_MAP_END