summaryrefslogtreecommitdiff
path: root/io.h
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2017-08-06 00:06:36 -0700
committerMichael Pavone <pavone@retrodev.com>2017-08-06 00:06:36 -0700
commit581601741c3b94bc66a03eece1774618312b260a (patch)
treeb554582c4e697996207ceb7bf207177f6ade235d /io.h
parent3b9d676e5bc08488d54b2479201ede060f727b68 (diff)
WIP - New savestate format
Diffstat (limited to 'io.h')
-rw-r--r--io.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/io.h b/io.h
index 5814c7a..6018753 100644
--- a/io.h
+++ b/io.h
@@ -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_joy_added(int joystick);
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_