mirror of
https://github.com/holub/mame
synced 2025-06-30 07:58:56 +03:00
hh_sm510: missing savestate variable (nw)
This commit is contained in:
parent
f8b539384d
commit
1bd1288c9e
@ -169,6 +169,8 @@ void hh_sm510_state::machine_start()
|
|||||||
save_item(NAME(m_speaker_data));
|
save_item(NAME(m_speaker_data));
|
||||||
save_item(NAME(m_s));
|
save_item(NAME(m_s));
|
||||||
save_item(NAME(m_r));
|
save_item(NAME(m_r));
|
||||||
|
|
||||||
|
save_item(NAME(m_display_wait));
|
||||||
save_item(NAME(m_display_x_len));
|
save_item(NAME(m_display_x_len));
|
||||||
save_item(NAME(m_display_y_len));
|
save_item(NAME(m_display_y_len));
|
||||||
save_item(NAME(m_display_z_len));
|
save_item(NAME(m_display_z_len));
|
||||||
@ -454,10 +456,10 @@ static INPUT_PORTS_START( gnw_flagman )
|
|||||||
PORT_BIT( 0x0f, IP_ACTIVE_HIGH, IPT_UNUSED )
|
PORT_BIT( 0x0f, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||||
|
|
||||||
PORT_START("IN.1") // R3
|
PORT_START("IN.1") // R3
|
||||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICKLEFT_UP ) PORT_CHANGED_CB(input_changed) PORT_16WAY PORT_NAME("1") // 1
|
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICKLEFT_UP ) PORT_CHANGED_CB(input_changed) PORT_16WAY PORT_NAME("1")
|
||||||
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICKRIGHT_UP ) PORT_CHANGED_CB(input_changed) PORT_16WAY PORT_NAME("2") // 2
|
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICKRIGHT_UP ) PORT_CHANGED_CB(input_changed) PORT_16WAY PORT_NAME("2")
|
||||||
PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICKLEFT_DOWN ) PORT_CHANGED_CB(input_changed) PORT_16WAY PORT_NAME("3") // 3
|
PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICKLEFT_DOWN ) PORT_CHANGED_CB(input_changed) PORT_16WAY PORT_NAME("3")
|
||||||
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICKRIGHT_DOWN ) PORT_CHANGED_CB(input_changed) PORT_16WAY PORT_NAME("4") // 4
|
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICKRIGHT_DOWN ) PORT_CHANGED_CB(input_changed) PORT_16WAY PORT_NAME("4")
|
||||||
|
|
||||||
PORT_START("IN.2") // R4
|
PORT_START("IN.2") // R4
|
||||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SELECT ) PORT_CHANGED_CB(input_changed) PORT_NAME("Time")
|
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SELECT ) PORT_CHANGED_CB(input_changed) PORT_NAME("Time")
|
||||||
@ -679,9 +681,9 @@ ROM_END
|
|||||||
* Sharp SM5A label IP-05 5010 (no decap)
|
* Sharp SM5A label IP-05 5010 (no decap)
|
||||||
* lcd screen with custom segments, 1-bit sound
|
* lcd screen with custom segments, 1-bit sound
|
||||||
|
|
||||||
This is the first (green) issue of the game which contains a bug where the
|
The first (green) issue of the game contains a bug where the players are
|
||||||
players are scored differently when wrongly dodging a win. This issue is
|
scored differently when wrongly dodging a win. This issue is fixed in the
|
||||||
fixed in the second (purple) issue.
|
second (purple) issue.
|
||||||
|
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
@ -709,8 +711,8 @@ static INPUT_PORTS_START( gnw_judge )
|
|||||||
|
|
||||||
PORT_START("IN.2") // R4
|
PORT_START("IN.2") // R4
|
||||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SELECT ) PORT_CHANGED_CB(input_changed) PORT_NAME("Time")
|
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SELECT ) PORT_CHANGED_CB(input_changed) PORT_NAME("Time")
|
||||||
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_START2 ) PORT_CHANGED_CB(input_changed) PORT_NAME("Game B")
|
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_START2 ) PORT_CHANGED_CB(input_changed) PORT_NAME("Game B") // 2-Player
|
||||||
PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_START1 ) PORT_CHANGED_CB(input_changed) PORT_NAME("Game A")
|
PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_START1 ) PORT_CHANGED_CB(input_changed) PORT_NAME("Game A") // 1-Player
|
||||||
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED )
|
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||||
|
|
||||||
PORT_START("B")
|
PORT_START("B")
|
||||||
@ -4000,9 +4002,9 @@ public:
|
|||||||
|
|
||||||
static INPUT_PORTS_START( gnw_ssparky )
|
static INPUT_PORTS_START( gnw_ssparky )
|
||||||
PORT_START("IN.0") // S1
|
PORT_START("IN.0") // S1
|
||||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_CHANGED_CB(input_changed) PORT_16WAY
|
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_CHANGED_CB(input_changed)
|
||||||
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_CHANGED_CB(input_changed) PORT_16WAY
|
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_CHANGED_CB(input_changed)
|
||||||
PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_CHANGED_CB(input_changed)
|
PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_CHANGED_CB(input_changed) // Shooter
|
||||||
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED )
|
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||||
|
|
||||||
PORT_START("IN.1") // S2
|
PORT_START("IN.1") // S2
|
||||||
@ -4020,7 +4022,7 @@ static INPUT_PORTS_START( gnw_ssparky )
|
|||||||
PORT_CONFSETTING( 0x00, DEF_STR( On ) )
|
PORT_CONFSETTING( 0x00, DEF_STR( On ) )
|
||||||
|
|
||||||
PORT_START("B")
|
PORT_START("B")
|
||||||
PORT_CONFNAME( 0x01, 0x01, "Infinite Lives (Cheat)") // factory test, unpopulated on PCB
|
PORT_CONFNAME( 0x01, 0x01, "Infinite Lives (Cheat)") // "
|
||||||
PORT_CONFSETTING( 0x01, DEF_STR( Off ) )
|
PORT_CONFSETTING( 0x01, DEF_STR( Off ) )
|
||||||
PORT_CONFSETTING( 0x00, DEF_STR( On ) )
|
PORT_CONFSETTING( 0x00, DEF_STR( On ) )
|
||||||
INPUT_PORTS_END
|
INPUT_PORTS_END
|
||||||
@ -9889,7 +9891,7 @@ static INPUT_PORTS_START( tbatmana )
|
|||||||
PORT_BIT( 0x0d, IP_ACTIVE_HIGH, IPT_UNUSED )
|
PORT_BIT( 0x0d, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||||
|
|
||||||
PORT_START("IN.3") // S5
|
PORT_START("IN.3") // S5
|
||||||
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_CHANGED_CB(input_changed) PORT_NAME("Throw/Attack")
|
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_CHANGED_CB(input_changed) PORT_NAME("Throw/Attack")
|
||||||
PORT_BIT( 0x0d, IP_ACTIVE_HIGH, IPT_UNUSED )
|
PORT_BIT( 0x0d, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||||
|
|
||||||
PORT_START("IN.4") // S6
|
PORT_START("IN.4") // S6
|
||||||
@ -10184,7 +10186,7 @@ static INPUT_PORTS_START( nummunch )
|
|||||||
|
|
||||||
PORT_START("IN.1") // S2
|
PORT_START("IN.1") // S2
|
||||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_POWER_OFF ) PORT_CHANGED_CB(input_changed)
|
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_POWER_OFF ) PORT_CHANGED_CB(input_changed)
|
||||||
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_R) PORT_CHANGED_CB(input_changed) PORT_NAME("Calc. / Clear")
|
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_R) PORT_CHANGED_CB(input_changed) PORT_NAME("Calc. / Clear")
|
||||||
PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_ENTER) PORT_CODE(KEYCODE_ENTER_PAD) PORT_CHANGED_CB(input_changed) PORT_NAME("=")
|
PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_ENTER) PORT_CODE(KEYCODE_ENTER_PAD) PORT_CHANGED_CB(input_changed) PORT_NAME("=")
|
||||||
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED )
|
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||||
|
|
||||||
@ -10329,7 +10331,7 @@ CONS( 1988, gnw_bfightn, gnw_bfight, 0, gnw_bfightn, gnw_bfight, gnw_bfight_sta
|
|||||||
CONS( 1983, gnw_dkjrp, 0, 0, gnw_dkjrp, gnw_dkjrp, gnw_dkjrp_state, empty_init, "Nintendo", "Game & Watch: Donkey Kong Jr. (panorama screen)", MACHINE_SUPPORTS_SAVE )
|
CONS( 1983, gnw_dkjrp, 0, 0, gnw_dkjrp, gnw_dkjrp, gnw_dkjrp_state, empty_init, "Nintendo", "Game & Watch: Donkey Kong Jr. (panorama screen)", MACHINE_SUPPORTS_SAVE )
|
||||||
CONS( 1983, gnw_mbaway, 0, 0, gnw_mbaway, gnw_mbaway, gnw_mbaway_state, empty_init, "Nintendo", "Game & Watch: Mario's Bombs Away", MACHINE_SUPPORTS_SAVE )
|
CONS( 1983, gnw_mbaway, 0, 0, gnw_mbaway, gnw_mbaway, gnw_mbaway_state, empty_init, "Nintendo", "Game & Watch: Mario's Bombs Away", MACHINE_SUPPORTS_SAVE )
|
||||||
|
|
||||||
// Nintendo G&W: super color screen
|
// Nintendo G&W: super color
|
||||||
CONS( 1984, gnw_ssparky, 0, 0, gnw_ssparky, gnw_ssparky, gnw_ssparky_state, empty_init, "Nintendo", "Game & Watch: Spitball Sparky", MACHINE_SUPPORTS_SAVE )
|
CONS( 1984, gnw_ssparky, 0, 0, gnw_ssparky, gnw_ssparky, gnw_ssparky_state, empty_init, "Nintendo", "Game & Watch: Spitball Sparky", MACHINE_SUPPORTS_SAVE )
|
||||||
|
|
||||||
// Nintendo G&W: micro vs. system (actually, no official Game & Watch logo anywhere)
|
// Nintendo G&W: micro vs. system (actually, no official Game & Watch logo anywhere)
|
||||||
|
Loading…
Reference in New Issue
Block a user