diff io.h @ 1427:4e5797b3935a

WIP - New savestate format
author Michael Pavone <pavone@retrodev.com>
date Sun, 06 Aug 2017 00:06:36 -0700
parents 040c5600e2d9
children 31a2997b745e
line wrap: on
line diff
--- a/io.h	Fri Jul 07 21:44:49 2017 -0700
+++ b/io.h	Sun Aug 06 00:06:36 2017 -0700
@@ -8,6 +8,7 @@
 #include <stdint.h>
 #include "tern.h"
 #include "romdb.h"
+#include "serialize.h"
 
 enum {
 	IO_GAMEPAD2,
@@ -109,6 +110,8 @@
 void handle_mouse_moved(int mouse, uint16_t x, uint16_t y, int16_t deltax, int16_t deltay);
 void handle_mousedown(int mouse, int button);
 void handle_mouseup(int mouse, int button);
+void io_serialize(io_port *port, serialize_buffer *buf);
+void io_deserialize(deserialize_buffer *buf, void *vport);
 
 #endif //IO_H_