Fix: 01511: batman: Fails to load autosave state

* fixes late creation of timer which caused 0-length save states
This commit is contained in:
Couriersud 2008-03-17 00:50:48 +00:00
parent c230321cdc
commit 8bb4a10f0b

View File

@ -970,6 +970,10 @@ void atarigen_scanline_timer_reset(const device_config *screen, atarigen_scanlin
emu_timer *timer = get_scanline_timer_for_screen(screen);
timer_adjust_oneshot(timer, video_screen_get_time_until_pos(screen, 0, 0), 0);
}
/* implicitly allocate a scanline interrupt timer */
get_scanline_interrupt_timer_for_screen(screen);
}