summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/cinemat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/cinemat.cpp')
-rw-r--r--src/mame/drivers/cinemat.cpp15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/mame/drivers/cinemat.cpp b/src/mame/drivers/cinemat.cpp
index 31729e463d4..03abb668a6e 100644
--- a/src/mame/drivers/cinemat.cpp
+++ b/src/mame/drivers/cinemat.cpp
@@ -58,6 +58,9 @@ void cinemat_state::machine_start()
save_item(NAME(m_coin_detected));
save_item(NAME(m_coin_last_reset));
save_item(NAME(m_mux_select));
+ save_item(NAME(m_vector_color));
+ save_item(NAME(m_lastx));
+ save_item(NAME(m_lasty));
m_led.resolve();
m_pressed.resolve();
}
@@ -1509,6 +1512,7 @@ void cinemat_state::init_speedfrk()
m_gear = 0xe;
m_maincpu->space(AS_IO).install_read_handler(0x00, 0x03, read8_delegate(FUNC(cinemat_state::speedfrk_wheel_r),this));
m_maincpu->space(AS_IO).install_read_handler(0x04, 0x06, read8_delegate(FUNC(cinemat_state::speedfrk_gear_r),this));
+ save_item(NAME(m_gear));
}
@@ -1527,9 +1531,16 @@ void cinemat_color_state::init_boxingb()
void qb3_state::init_qb3()
{
membank("bank1")->configure_entries(0, 4, m_rambase, 0x100*2);
-}
+ save_item(NAME(m_qb3_lastx));
+ save_item(NAME(m_qb3_lasty));
+}
+void cinemat_64level_state::init_solarq()
+{
+ save_item(NAME(m_target_volume));
+ save_item(NAME(m_current_volume));
+}
/*************************************
*
@@ -1556,7 +1567,7 @@ GAMEL( 1980, starcasp, starcas, starcas, starcas, cinemat_state, empt
GAMEL( 1980, starcase, starcas, starcas, starcas, cinemat_state, empty_init, ORIENTATION_FLIP_Y, "Cinematronics (Mottoeis license)", "Star Castle (Mottoeis)", MACHINE_IMPERFECT_SOUND | MACHINE_SUPPORTS_SAVE, layout_starcas )
GAMEL( 1980, stellcas, starcas, starcas, starcas, cinemat_state, empty_init, ORIENTATION_FLIP_Y, "bootleg (Elettronolo)", "Stellar Castle (Elettronolo)", MACHINE_IMPERFECT_SOUND | MACHINE_SUPPORTS_SAVE, layout_starcas )
GAMEL( 1981, spaceftr, starcas, starcas, starcas, cinemat_state, empty_init, ORIENTATION_FLIP_Y, "Cinematronics (Zaccaria license)", "Space Fortress (Zaccaria)", MACHINE_IMPERFECT_SOUND | MACHINE_SUPPORTS_SAVE, layout_starcas )
-GAMEL( 1981, solarq, 0, solarq, solarq, cinemat_64level_state, empty_init, ORIENTATION_FLIP_Y ^ ORIENTATION_FLIP_X, "Cinematronics", "Solar Quest", MACHINE_IMPERFECT_SOUND | MACHINE_SUPPORTS_SAVE, layout_solarq )
+GAMEL( 1981, solarq, 0, solarq, solarq, cinemat_64level_state, init_solarq, ORIENTATION_FLIP_Y ^ ORIENTATION_FLIP_X, "Cinematronics", "Solar Quest", MACHINE_IMPERFECT_SOUND | MACHINE_SUPPORTS_SAVE, layout_solarq )
GAME( 1981, boxingb, 0, boxingb, boxingb, cinemat_color_state, init_boxingb, ORIENTATION_FLIP_Y, "Cinematronics", "Boxing Bugs", MACHINE_IMPERFECT_SOUND | MACHINE_SUPPORTS_SAVE )
GAMEL( 1981, wotw, 0, wotw, wotw, cinemat_state, empty_init, ORIENTATION_FLIP_Y, "Cinematronics", "War of the Worlds", MACHINE_IMPERFECT_SOUND | MACHINE_SUPPORTS_SAVE, layout_wotw )
GAME( 1981, wotwc, wotw, wotwc, wotw, cinemat_color_state, empty_init, ORIENTATION_FLIP_Y, "Cinematronics", "War of the Worlds (color)", MACHINE_IMPERFECT_SOUND | MACHINE_SUPPORTS_SAVE )