summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Fabio Priuli <etabeta78@users.noreply.github.com>2010-03-10 06:23:56 +0000
committer Fabio Priuli <etabeta78@users.noreply.github.com>2010-03-10 06:23:56 +0000
commitbaea054aa992cc8b623a22f1f3caf29cc8537f09 (patch)
treed0a6d4ea6d54e7c4f41a569a981628a98cc0502e
parentd7f7564b381633d9ffd429bef95abcff1e751a8c (diff)
fixed snes issue (sorry)
-rw-r--r--src/mame/machine/snes.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mame/machine/snes.c b/src/mame/machine/snes.c
index a414edfd340..482de2edf72 100644
--- a/src/mame/machine/snes.c
+++ b/src/mame/machine/snes.c
@@ -2072,8 +2072,7 @@ static void snes_init_ram(running_machine *machine)
vram_read_offset = 2;
state->joy1l = state->joy1h = state->joy2l = state->joy2h = state->joy3l = state->joy3h = 0;
- state->joypad[0].low = state->joypad[1].low = state->joypad[2].low = state->joypad[3].low = 0;
- state->joypad[0].high = state->joypad[1].high = state->joypad[2].high = state->joypad[3].high = 0;
+ state->data1[0] = state->data2[0] = state->data1[1] = state->data2[1] = 0;
state->io_read = nss_io_read;
state->oldjoy1_read = nss_oldjoy1_read;