diff options
author | 2018-02-01 10:04:01 +0100 | |
---|---|---|
committer | 2018-02-12 10:04:52 +0100 | |
commit | c5219643162cb7d2a8688425a09008d28c8e2437 (patch) | |
tree | f2775ca3b1770ab0d3fb568f0bdd6d9212c68bf6 /src/mame/drivers/wpc_an.cpp | |
parent | 09b6ce46873b38de9030a3c0378ff327f17af881 (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/wpc_an.cpp')
-rw-r--r-- | src/mame/drivers/wpc_an.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/drivers/wpc_an.cpp b/src/mame/drivers/wpc_an.cpp index 9f517cca4e2..3872b2e2a2c 100644 --- a/src/mame/drivers/wpc_an.cpp +++ b/src/mame/drivers/wpc_an.cpp @@ -33,6 +33,7 @@ public: void wpc_an_dd(machine_config &config); void wpc_an(machine_config &config); void wpc_an_base(machine_config &config); + void wpc_an_map(address_map &map); protected: // devices @@ -70,7 +71,7 @@ private: }; -static ADDRESS_MAP_START( wpc_an_map, AS_PROGRAM, 8, wpc_an_state ) +ADDRESS_MAP_START(wpc_an_state::wpc_an_map) AM_RANGE(0x0000, 0x2fff) AM_READWRITE(ram_r,ram_w) AM_RANGE(0x3000, 0x3faf) AM_RAM AM_RANGE(0x3fb0, 0x3fff) AM_DEVREADWRITE("wpc",wpc_device,read,write) // WPC device |