From 581601741c3b94bc66a03eece1774618312b260a Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Sun, 6 Aug 2017 00:06:36 -0700 Subject: WIP - New savestate format --- io.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'io.h') diff --git a/io.h b/io.h index 5814c7a..6018753 100644 --- a/io.h +++ b/io.h @@ -8,6 +8,7 @@ #include #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_ -- cgit v1.2.3