summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-02-17 13:36:46 -0500
committer AJR <ajrhacker@users.noreply.github.com>2018-02-17 13:37:24 -0500
commitbcd112bed54ca5f3b85615e405fd5d3fa2f96b8b (patch)
treeff188798bc821b6507a5b92c6a3013903bb76749
parent4aa6f2a3429868945510181c1415885d97852ca8 (diff)
spacegun: Use cswidth for NIO access (nw)
-rw-r--r--src/mame/drivers/taito_z.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/taito_z.cpp b/src/mame/drivers/taito_z.cpp
index 732392dc7fb..08b0554b042 100644
--- a/src/mame/drivers/taito_z.cpp
+++ b/src/mame/drivers/taito_z.cpp
@@ -1649,7 +1649,7 @@ ADDRESS_MAP_START(taitoz_state::spacegun_cpub_map)
AM_RANGE(0x000000, 0x03ffff) AM_ROM
AM_RANGE(0x20c000, 0x20ffff) AM_RAM
AM_RANGE(0x210000, 0x21ffff) AM_RAM AM_SHARE("share1")
- AM_RANGE(0x800000, 0x80000f) AM_DEVREADWRITE("tc0510nio", tc0510nio_device, halfword_r, halfword_w)
+ AM_RANGE(0x800000, 0x80000f) AM_DEVREADWRITE8("tc0510nio", tc0510nio_device, read, write, 0x00ff).cswidth(16)
AM_RANGE(0xc00000, 0xc00007) AM_DEVREADWRITE8("ymsnd", ym2610_device, read, write, 0x00ff)
AM_RANGE(0xc0000c, 0xc0000d) AM_NOP // interrupt controller?
AM_RANGE(0xc0000e, 0xc0000f) AM_NOP