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/cesclass.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/cesclass.cpp')
-rw-r--r-- | src/mame/drivers/cesclass.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/drivers/cesclass.cpp b/src/mame/drivers/cesclass.cpp index d8481fae7ae..b6057908fc4 100644 --- a/src/mame/drivers/cesclass.cpp +++ b/src/mame/drivers/cesclass.cpp @@ -50,6 +50,7 @@ public: uint32_t screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect); DECLARE_PALETTE_INIT(cesclassic); void cesclassic(machine_config &config); + void cesclassic_map(address_map &map); protected: // devices @@ -124,7 +125,7 @@ WRITE16_MEMBER( cesclassic_state::outputs_w ) logerror("Output: %02x\n",data); } -static ADDRESS_MAP_START( cesclassic_map, AS_PROGRAM, 16, cesclassic_state ) +ADDRESS_MAP_START(cesclassic_state::cesclassic_map) AM_RANGE(0x000000, 0x0fffff) AM_ROM AM_RANGE(0x400000, 0x40cfff) AM_RAM AM_RANGE(0x40d000, 0x40ffff) AM_RAM AM_SHARE("vram") |