summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Angelo Salese <angelosa@users.noreply.github.com>2010-02-14 14:12:06 +0000
committer Angelo Salese <angelosa@users.noreply.github.com>2010-02-14 14:12:06 +0000
commit9621c5bcbc2ff424b6cb9e51573fd1ce7f348b0e (patch)
tree4b123ef9d5a6cc229ae3df2c381dca427eba574a /src
parent84936e07bdc4a6754d2181496587c6347d4680ee (diff)
Fixed long-standing (day one?) bug with ADPCM samples in Trojan / Tatakai no Banka [Mamesick, Angelo Salese]
Diffstat (limited to 'src')
-rw-r--r--src/mame/drivers/lwings.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/lwings.c b/src/mame/drivers/lwings.c
index 4a43fd69505..a7c008130bd 100644
--- a/src/mame/drivers/lwings.c
+++ b/src/mame/drivers/lwings.c
@@ -335,12 +335,12 @@ static ADDRESS_MAP_START( trojan_map, ADDRESS_SPACE_PROGRAM, 8 )
AM_RANGE(0xf802, 0xf803) AM_WRITE(lwings_bg1_scrolly_w)
AM_RANGE(0xf804, 0xf804) AM_WRITE(trojan_bg2_scrollx_w)
AM_RANGE(0xf805, 0xf805) AM_WRITE(trojan_bg2_image_w)
- AM_RANGE(0xf808, 0xf808) AM_READ_PORT("SERVICE")
+ AM_RANGE(0xf808, 0xf808) AM_READ_PORT("SERVICE") AM_WRITENOP //watchdog
AM_RANGE(0xf809, 0xf809) AM_READ_PORT("P1")
AM_RANGE(0xf80a, 0xf80a) AM_READ_PORT("P2")
AM_RANGE(0xf80b, 0xf80b) AM_READ_PORT("DSWA")
AM_RANGE(0xf80c, 0xf80c) AM_READ_PORT("DSWB") AM_WRITE(soundlatch_w)
- AM_RANGE(0xf80d, 0xf80d) AM_WRITE(watchdog_reset_w)
+ AM_RANGE(0xf80d, 0xf80d) AM_WRITE(soundlatch2_w)
AM_RANGE(0xf80e, 0xf80e) AM_WRITE(lwings_bankswitch_w)
ADDRESS_MAP_END
@@ -367,7 +367,7 @@ ADDRESS_MAP_END
static ADDRESS_MAP_START( trojan_adpcm_io_map, ADDRESS_SPACE_IO, 8 )
ADDRESS_MAP_GLOBAL_MASK(0xff)
- AM_RANGE(0x00, 0x00) AM_READ(soundlatch_r)
+ AM_RANGE(0x00, 0x00) AM_READ(soundlatch2_r)
AM_RANGE(0x01, 0x01) AM_DEVWRITE("5205", msm5205_w)
ADDRESS_MAP_END