summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/esh.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2012-03-31 13:39:09 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2012-03-31 13:39:09 +0000
commit2c6405939667eb6da61fee9e8c0a6e9218313b98 (patch)
tree77a8df4bd2675475c38f0d8a666c79c705f35055 /src/mame/drivers/esh.c
parentb5e7f4998b60effd62a2ad43db5e722dcb5dd1c3 (diff)
MAME going modern part 1 (no whatsnew)
- Added 4th parameter to all address maps - Added missing state classes
Diffstat (limited to 'src/mame/drivers/esh.c')
-rw-r--r--src/mame/drivers/esh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/esh.c b/src/mame/drivers/esh.c
index 80abcb4b305..e5ebfb357c1 100644
--- a/src/mame/drivers/esh.c
+++ b/src/mame/drivers/esh.c
@@ -152,7 +152,7 @@ static WRITE8_HANDLER(nmi_line_w)
/* PROGRAM MAPS */
-static ADDRESS_MAP_START( z80_0_mem, AS_PROGRAM, 8 )
+static ADDRESS_MAP_START( z80_0_mem, AS_PROGRAM, 8, esh_state )
AM_RANGE(0x0000,0x3fff) AM_ROM
AM_RANGE(0xe000,0xe7ff) AM_RAM AM_SHARE("nvram")
AM_RANGE(0xf000,0xf3ff) AM_RAM AM_BASE_MEMBER(esh_state, m_tile_ram)
@@ -161,7 +161,7 @@ ADDRESS_MAP_END
/* IO MAPS */
-static ADDRESS_MAP_START( z80_0_io, AS_IO, 8 )
+static ADDRESS_MAP_START( z80_0_io, AS_IO, 8, esh_state )
ADDRESS_MAP_GLOBAL_MASK(0xff)
AM_RANGE(0xf0,0xf0) AM_READ_PORT("IN0")
AM_RANGE(0xf1,0xf1) AM_READ_PORT("IN1")