1.1 --- a/src/dreamcast.h Sat Oct 27 05:48:22 2007 +0000
1.2 +++ b/src/dreamcast.h Wed Oct 31 11:53:35 2007 +0000
1.5 - * $Id: dreamcast.h,v 1.20 2007-10-27 05:48:22 nkeynes Exp $
1.6 + * $Id: dreamcast.h,v 1.21 2007-10-31 09:10:23 nkeynes Exp $
1.8 * Public interface for dreamcast.c -
1.9 * Central switchboard for the system. This pulls all the individual modules
1.11 #define dreamcast_H 1
1.14 -#include <glib/gtypes.h>
1.15 +#include "lxdream.h"
1.21 #define DEFAULT_TIMESLICE_LENGTH 1000000 /* nanoseconds */
1.23 -#define MB *1024*1024
1.26 #define XLAT_NEW_CACHE_SIZE 32 MB
1.27 #define XLAT_TEMP_CACHE_SIZE 2 MB
1.28 #define XLAT_OLD_CACHE_SIZE 8 MB
1.30 int dreamcast_save_state( const gchar *filename );
1.31 int dreamcast_load_state( const gchar *filename );
1.34 + * Load the front-buffer image from the specified file.
1.35 + * If the file is not a valid save state, returns NULL. Otherwise,
1.36 + * returns a newly allocated frame_buffer that should be freed
1.37 + * by the caller. (The data buffer is contained within the
1.38 + * allocation and does not need to be freed separately)
1.40 +frame_buffer_t dreamcast_load_preview( const gchar *filename );
1.42 #define SCENE_SAVE_MAGIC "%!-lxDream!Scene"
1.43 #define SCENE_SAVE_VERSION 0x00010000