diff options
author | Wei Mingzhi <weimingzhi@baidu.com> | 2017-10-05 17:08:32 +0800 |
---|---|---|
committer | Wei Mingzhi <weimingzhi@baidu.com> | 2017-10-05 17:12:15 +0800 |
commit | ce7ac5a019841e0a5d3914b86181b391b1daa9d3 (patch) | |
tree | 8787da1afecd40fa5e1c6762bdcb0ea59f6c0be9 | |
parent | 03bb00d9d4dbfcb367797f091d388e3eafd9ec43 (diff) |
dynax.cpp: fix credits lost after exiting the game.
The game checks for the the string "A WARNING.IF YOU COPY OUR ITEMS,WE REVENGE BY ALL MEANS." at address 0x6E17, and will reset everything if the string does not match.
I'm not sure what the exact nvram address is, but at least this works.
-rw-r--r-- | src/mame/drivers/dynax.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mame/drivers/dynax.cpp b/src/mame/drivers/dynax.cpp index b5a900a5d95..06e77fc2181 100644 --- a/src/mame/drivers/dynax.cpp +++ b/src/mame/drivers/dynax.cpp @@ -1259,8 +1259,7 @@ WRITE8_MEMBER(dynax_state::tenkai_blit_romregion_w) static ADDRESS_MAP_START( tenkai_map, AS_PROGRAM, 8, dynax_state ) AM_RANGE( 0x0000, 0x5fff ) AM_ROM - AM_RANGE( 0x6000, 0x6fff ) AM_RAM - AM_RANGE( 0x7000, 0x7fff ) AM_RAM AM_SHARE("nvram") + AM_RANGE( 0x6000, 0x7fff ) AM_RAM AM_SHARE("nvram") AM_RANGE( 0x8000, 0xffff ) AM_DEVICE("bankdev", address_map_bank_device, amap8) AM_RANGE( 0x10000, 0x10000 ) AM_DEVREAD("aysnd", ay8910_device, data_r) // AY8910 AM_RANGE( 0x10008, 0x10008 ) AM_DEVWRITE("aysnd", ay8910_device, data_w) // |