Search
lxdream.org :: lxdream/src/dreamcast.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/dreamcast.h
changeset 1038:f220d18c0615
prev953:f4a156508ad1
next1040:9e3e41eab2db
author nkeynes
date Thu Jun 25 01:15:25 2009 +0000 (12 years ago)
permissions -rw-r--r--
last change Move configuration to .lxdream/lxdreamrc on *nix, Library/Application Support/Lxdream on OS X
Create standard directories on first run
Add current quick state to config file
Refactor quick-state handling into dreamcast.c, and use the save directory
file annotate diff log raw
1.1 --- a/src/dreamcast.h Tue Jan 13 11:56:28 2009 +0000
1.2 +++ b/src/dreamcast.h Thu Jun 25 01:15:25 2009 +0000
1.3 @@ -66,6 +66,16 @@
1.4 int dreamcast_save_state( const gchar *filename );
1.5 int dreamcast_load_state( const gchar *filename );
1.6
1.7 +/* Quick saves */
1.8 +#define MAX_QUICK_STATE 9
1.9 +#define QUICK_STATE_FILENAME "quicksave%d.dst"
1.10 +
1.11 +void dreamcast_quick_save();
1.12 +void dreamcast_quick_load();
1.13 +unsigned int dreamcast_get_quick_state();
1.14 +void dreamcast_set_quick_state( unsigned int state );
1.15 +gboolean dreamcast_has_quick_state( unsigned int state );
1.16 +
1.17 /**
1.18 * Load the front-buffer image from the specified file.
1.19 * If the file is not a valid save state, returns NULL. Otherwise,
.