diff options
author | Aaron Giles <aaron@aarongiles.com> | 2008-01-03 09:05:08 +0000 |
---|---|---|
committer | Aaron Giles <aaron@aarongiles.com> | 2008-01-03 09:05:08 +0000 |
commit | 3b2b5c5f31dc51a66bec1aae9aea54fa97a42fd3 (patch) | |
tree | 8948cda08e90662c5307efbaf1709c3eaa7240a9 | |
parent | d73ea1bf01d99528fdf3ecc04b2a5fec56617276 (diff) |
(From Atari Ace)
This should fix wwestern0115u1yel. It also invalidates every save state
out there, but it is the right thing to do. ;-)
-rw-r--r-- | src/emu/machine/generic.c | 6 | ||||
-rw-r--r-- | src/mame/drivers/taitosj.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/emu/machine/generic.c b/src/emu/machine/generic.c index 3b87a3a9229..1a21549919b 100644 --- a/src/emu/machine/generic.c +++ b/src/emu/machine/generic.c @@ -74,6 +74,12 @@ void generic_machine_init(running_machine *machine) servicecoinlockedout[counternum] = 0; } + /* register coin save state */ + state_save_register_item_array("coin", 0, coin_count); + state_save_register_item_array("coin", 0, coinlockedout); + state_save_register_item_array("coin", 0, servicecoinlockedout); + state_save_register_item_array("coin", 0, lastcoin); + /* reset NVRAM size and pointers */ generic_nvram_size = 0; generic_nvram = NULL; diff --git a/src/mame/drivers/taitosj.c b/src/mame/drivers/taitosj.c index 65069275ab1..531c2b48654 100644 --- a/src/mame/drivers/taitosj.c +++ b/src/mame/drivers/taitosj.c @@ -66,7 +66,7 @@ Address Dir Data Name Description 11010101----1010 W xxxxxxxx EXROM2 high 8 bits of address to read from graphics ROMs 11010101----1011 W xxxxxxxx EPORT1 command to sound CPU 11010101----1100 W -------x EPORT2 single bit signal to audio CPU (not used?) -11010101----1101 W -------- TIME RESET wathcdog reset +11010101----1101 W -------- TIME RESET watchdog reset 11010101----1110 W -------x COIN LOCK coin lockout 11010101----1110 W ------x- SOUND STOP mute sound 11010101----1110 W -xxxxx-- n.c. |