summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/eolith16.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/eolith16.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/eolith16.cpp')
-rw-r--r--src/mame/drivers/eolith16.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/drivers/eolith16.cpp b/src/mame/drivers/eolith16.cpp
index 09833ece4a7..f7da712e349 100644
--- a/src/mame/drivers/eolith16.cpp
+++ b/src/mame/drivers/eolith16.cpp
@@ -41,6 +41,7 @@ public:
uint32_t screen_update_eolith16(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
void eolith16(machine_config &config);
+ void eolith16_map(address_map &map);
};
@@ -73,7 +74,7 @@ READ16_MEMBER(eolith16_state::vram_r)
return m_vram[offset + (0x10000/2) * m_vbuffer];
}
-static ADDRESS_MAP_START( eolith16_map, AS_PROGRAM, 16, eolith16_state )
+ADDRESS_MAP_START(eolith16_state::eolith16_map)
AM_RANGE(0x00000000, 0x001fffff) AM_RAM
AM_RANGE(0x50000000, 0x5000ffff) AM_READWRITE(vram_r, vram_w)
AM_RANGE(0x90000000, 0x9000002f) AM_WRITENOP //?