save event times to savestates
[picodrive.git] / pico / pico_int.h
index 8d1a337..bcb971e 100644 (file)
@@ -722,6 +722,13 @@ void PicoFrameDrawOnlyMS(void);
 // 32x/32x.c\r
 #ifndef NO_32X\r
 extern struct Pico32x Pico32x;\r
+enum p32x_event {\r
+  P32X_EVENT_PWM,\r
+  P32X_EVENT_FILLEND,\r
+  P32X_EVENT_COUNT,\r
+};\r
+extern unsigned int event_times[P32X_EVENT_COUNT];\r
+\r
 void Pico32xInit(void);\r
 void PicoPower32x(void);\r
 void PicoReset32x(void);\r
@@ -731,12 +738,6 @@ void PicoFrame32x(void);
 void p32x_sync_sh2s(unsigned int m68k_target);\r
 void p32x_update_irls(int nested_call);\r
 void p32x_reset_sh2s(void);\r
-\r
-enum p32x_event {\r
-  P32X_EVENT_PWM,\r
-  P32X_EVENT_FILLEND,\r
-  P32X_EVENT_COUNT,\r
-};\r
 void p32x_event_schedule(enum p32x_event event, unsigned int now, int after);\r
 \r
 // 32x/memory.c\r