mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
save event times to savestates
This commit is contained in:
parent
65514d85d5
commit
6a98f03eef
5 changed files with 26 additions and 11 deletions
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* PicoDrive
|
||||
* (C) notaz, 2009,2010
|
||||
* (C) notaz, 2009,2010,2013
|
||||
*
|
||||
* This work is licensed under the terms of MAME license.
|
||||
* See COPYING file in the top-level directory.
|
||||
|
@ -225,7 +225,7 @@ static void fillend_event(unsigned int now)
|
|||
|
||||
typedef void (event_cb)(unsigned int now);
|
||||
|
||||
static unsigned int event_times[P32X_EVENT_COUNT];
|
||||
unsigned int event_times[P32X_EVENT_COUNT];
|
||||
static unsigned int event_time_next;
|
||||
static event_cb *event_cbs[] = {
|
||||
[P32X_EVENT_PWM] = pwm_irq_event,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue