Search
lxdream.org :: lxdream/src/dreamcast.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/dreamcast.h
changeset 18:9a1b5d75703f
prev17:944f75eea496
next19:9da7a8e38f9d
author nkeynes
date Thu Dec 15 13:33:14 2005 +0000 (14 years ago)
permissions -rw-r--r--
last change Implement save states
file annotate diff log raw
1.1 --- a/src/dreamcast.h Tue Dec 13 14:47:59 2005 +0000
1.2 +++ b/src/dreamcast.h Thu Dec 15 13:33:14 2005 +0000
1.3 @@ -4,6 +4,7 @@
1.4
1.5 #include <stdlib.h>
1.6 #include <stdio.h>
1.7 +#include <glib/gtypes.h>
1.8
1.9 #ifdef __cplusplus
1.10 extern "C" {
1.11 @@ -16,8 +17,11 @@
1.12 #define DREAMCAST_SAVE_MAGIC "%!-DreamOn!Save\0"
1.13 #define DREAMCAST_SAVE_VERSION 0x00010000
1.14
1.15 -void dreamcast_save_state( FILE *f );
1.16 -int dreamcast_load_state( FILE *f );
1.17 +int dreamcast_save_state( const gchar *filename );
1.18 +int dreamcast_load_state( const gchar *filename );
1.19 +
1.20 +int open_file( gchar *filename );
1.21 +
1.22
1.23 #ifdef __cplusplus
1.24 }
.