From ee2fe4d7a71404244bc812711f64acafbf780101 Mon Sep 17 00:00:00 2001 From: Ivan Vangelista Date: Fri, 6 Jun 2014 16:56:25 +0000 Subject: [PATCH] 3x3puzzl.c: added save state support (nw) --- src/mame/drivers/3x3puzzl.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/mame/drivers/3x3puzzl.c b/src/mame/drivers/3x3puzzl.c index 4410ba8a854..9a6f7e7cd9b 100644 --- a/src/mame/drivers/3x3puzzl.c +++ b/src/mame/drivers/3x3puzzl.c @@ -368,11 +368,13 @@ GFXDECODE_END void _3x3puzzle_state::machine_start() { save_item(NAME(m_oki_bank)); + save_item(NAME(m_gfx_control)); } void _3x3puzzle_state::machine_reset() { m_oki_bank = 0; + m_gfx_control = 0; } @@ -497,6 +499,6 @@ ROM_END -GAME( 1998, 3x3puzzl, 0, _3x3puzzle, _3x3puzzle, driver_device, 0, ROT0, "Ace Enterprise", "3X3 Puzzle (Enterprise)", 0 ) // 1998. 5. 28 -GAME( 1998, 3x3puzzla, 3x3puzzl, _3x3puzzle, _3x3puzzle, driver_device, 0, ROT0, "Ace Enterprise", "3X3 Puzzle (Normal)", 0 ) // 1998. 5. 28 -GAME( 199?, casanova, 0, _3x3puzzle, casanova, driver_device, 0, ROT0, "", "Casanova", GAME_IMPERFECT_GRAPHICS ) +GAME( 1998, 3x3puzzl, 0, _3x3puzzle, _3x3puzzle, driver_device, 0, ROT0, "Ace Enterprise", "3X3 Puzzle (Enterprise)", GAME_SUPPORTS_SAVE ) // 1998. 5. 28 +GAME( 1998, 3x3puzzla, 3x3puzzl, _3x3puzzle, _3x3puzzle, driver_device, 0, ROT0, "Ace Enterprise", "3X3 Puzzle (Normal)", GAME_SUPPORTS_SAVE ) // 1998. 5. 28 +GAME( 199?, casanova, 0, _3x3puzzle, casanova, driver_device, 0, ROT0, "", "Casanova", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE )