summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/ginganin.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/ginganin.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/ginganin.cpp')
-rw-r--r--src/mame/drivers/ginganin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/ginganin.cpp b/src/mame/drivers/ginganin.cpp
index cd83d4cf805..465c7276d9e 100644
--- a/src/mame/drivers/ginganin.cpp
+++ b/src/mame/drivers/ginganin.cpp
@@ -76,7 +76,7 @@ f5d6 print 7 digit BCD number: d0.l to (a1)+ color $3000
*/
-static ADDRESS_MAP_START( ginganin_map, AS_PROGRAM, 16, ginganin_state )
+ADDRESS_MAP_START(ginganin_state::ginganin_map)
/* The ROM area: 10000-13fff is written with: 0000 0000 0000 0001, at startup only. Why? */
AM_RANGE(0x000000, 0x01ffff) AM_ROM
AM_RANGE(0x020000, 0x023fff) AM_RAM
@@ -96,7 +96,7 @@ ADDRESS_MAP_END
**
*/
-static ADDRESS_MAP_START( sound_map, AS_PROGRAM, 8, ginganin_state )
+ADDRESS_MAP_START(ginganin_state::sound_map)
AM_RANGE(0x0000, 0x07ff) AM_RAM
AM_RANGE(0x0800, 0x0807) AM_DEVREADWRITE("6840ptm", ptm6840_device, read, write)
AM_RANGE(0x1800, 0x1800) AM_DEVREAD("soundlatch", generic_latch_8_device, read)