mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
tc0100scn.c: fixed postload, fixes cameltry save state regression (nw)
taitof2.c: killed anonymous timer while I was at it (nw)
This commit is contained in:
parent
aa8c7eee25
commit
18e90bc313
3 changed files with 5 additions and 1 deletions
|
@ -586,7 +586,7 @@ void taitof2_state::device_timer(emu_timer &timer, device_timer_id id, int param
|
|||
|
||||
INTERRUPT_GEN_MEMBER(taitof2_state::taitof2_interrupt)
|
||||
{
|
||||
timer_set(downcast<cpu_device *>(&device)->cycles_to_attotime(500), TIMER_TAITOF2_INTERRUPT6);
|
||||
m_int6_timer->adjust(m_maincpu->cycles_to_attotime(500));
|
||||
device.execute().set_input_line(5, HOLD_LINE);
|
||||
}
|
||||
|
||||
|
@ -2836,6 +2836,7 @@ WRITE8_MEMBER(taitof2_state::cameltrya_porta_w)
|
|||
|
||||
MACHINE_START_MEMBER(taitof2_state,common)
|
||||
{
|
||||
m_int6_timer = timer_alloc(TIMER_TAITOF2_INTERRUPT6);
|
||||
}
|
||||
|
||||
MACHINE_START_MEMBER(taitof2_state,f2)
|
||||
|
|
|
@ -96,6 +96,7 @@ public:
|
|||
int m_nibble;
|
||||
INT32 m_driveout_sound_latch;
|
||||
INT32 m_oki_bank;
|
||||
emu_timer *m_int6_timer;
|
||||
|
||||
/* devices */
|
||||
required_device<cpu_device> m_maincpu;
|
||||
|
|
|
@ -446,6 +446,8 @@ void tc0100scn_device::postload()
|
|||
{
|
||||
set_layer_ptrs();
|
||||
restore_scroll();
|
||||
|
||||
m_gfxdecode->gfx(m_txnum)->set_source((UINT8 *)m_char_ram);
|
||||
|
||||
m_tilemap[0][0]->mark_all_dirty();
|
||||
m_tilemap[1][0]->mark_all_dirty();
|
||||
|
|
Loading…
Reference in a new issue