diff options
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 |
commit | c5219643162cb7d2a8688425a09008d28c8e2437 (patch) | |
tree | f2775ca3b1770ab0d3fb568f0bdd6d9212c68bf6 /src/mame/drivers/lviv.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/lviv.cpp')
-rw-r--r-- | src/mame/drivers/lviv.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/lviv.cpp b/src/mame/drivers/lviv.cpp index c47e50ebaf2..84db4393cf1 100644 --- a/src/mame/drivers/lviv.cpp +++ b/src/mame/drivers/lviv.cpp @@ -297,13 +297,13 @@ Timings: /* I/O ports */ -static ADDRESS_MAP_START(io_map, AS_IO, 8, lviv_state ) +ADDRESS_MAP_START(lviv_state::io_map) AM_RANGE(0x00, 0xff) AM_READWRITE(lviv_io_r,lviv_io_w) ADDRESS_MAP_END /* memory w/r functions */ -static ADDRESS_MAP_START(lviv_mem , AS_PROGRAM, 8, lviv_state ) +ADDRESS_MAP_START(lviv_state::lviv_mem) AM_RANGE(0x0000, 0x3fff) AM_RAMBANK("bank1") AM_RANGE(0x4000, 0x7fff) AM_RAMBANK("bank2") AM_RANGE(0x8000, 0xbfff) AM_RAMBANK("bank3") |