mirror of
https://github.com/holub/mame
synced 2025-04-26 10:13:37 +03:00
Save state: Forgot save_item for m_ccnt_old_val, also initialized m_bFlicker variable
This commit is contained in:
parent
cc1b8a5fb0
commit
09a411be86
@ -256,6 +256,7 @@ GFXDECODE_END
|
|||||||
|
|
||||||
void shootout_state::machine_reset ()
|
void shootout_state::machine_reset ()
|
||||||
{
|
{
|
||||||
|
m_bFlicker = 0;
|
||||||
m_ccnt_old_val = 0x40;
|
m_ccnt_old_val = 0x40;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -422,6 +423,6 @@ DRIVER_INIT_MEMBER(shootout_state,shootout)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
GAME( 1985, shootout, 0, shootout, shootout, shootout_state, shootout, ROT0, "Data East USA", "Shoot Out (US)", MACHINE_SUPPORTS_SAVE )
|
GAME( 1985, shootout, 0, shootout, shootout, shootout_state, shootout, ROT0, "Data East USA", "Shoot Out (US)", MACHINE_SUPPORTS_SAVE )
|
||||||
GAME( 1985, shootoutj, shootout, shootouj, shootouj, shootout_state, shootout, ROT0, "Data East Corporation", "Shoot Out (Japan)", MACHINE_SUPPORTS_SAVE )
|
GAME( 1985, shootoutj, shootout, shootouj, shootouj, shootout_state, shootout, ROT0, "Data East Corporation", "Shoot Out (Japan)", MACHINE_SUPPORTS_SAVE )
|
||||||
GAME( 1985, shootoutb, shootout, shootouk, shootout, shootout_state, shootout, ROT0, "bootleg", "Shoot Out (Korean Bootleg)", MACHINE_SUPPORTS_SAVE )
|
GAME( 1985, shootoutb, shootout, shootouk, shootout, shootout_state, shootout, ROT0, "bootleg", "Shoot Out (Korean Bootleg)", MACHINE_SUPPORTS_SAVE )
|
||||||
|
@ -84,6 +84,7 @@ void shootout_state::video_start()
|
|||||||
m_foreground->set_transparent_pen(0 );
|
m_foreground->set_transparent_pen(0 );
|
||||||
|
|
||||||
save_item(NAME(m_bFlicker));
|
save_item(NAME(m_bFlicker));
|
||||||
|
save_item(NAME(m_ccnt_old_val));
|
||||||
}
|
}
|
||||||
|
|
||||||
void shootout_state::draw_sprites(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect, int bank_bits )
|
void shootout_state::draw_sprites(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect, int bank_bits )
|
||||||
|
Loading…
Reference in New Issue
Block a user