From ce7ac5a019841e0a5d3914b86181b391b1daa9d3 Mon Sep 17 00:00:00 2001 From: Wei Mingzhi Date: Thu, 5 Oct 2017 17:08:32 +0800 Subject: 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. --- src/mame/drivers/dynax.cpp | 3 +-- 1 file changed, 1 insertion(+), 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) // -- cgit v1.2.3