Search
lxdream.org :: lxdream/src/dreamcast.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/dreamcast.h
changeset 23:1ec3acd0594d
prev19:9da7a8e38f9d
next26:ad258e3daaa5
author nkeynes
date Fri Dec 23 11:44:55 2005 +0000 (14 years ago)
permissions -rw-r--r--
last change Start of "real" time slices, general structure in place now
file annotate diff log raw
1.1 --- a/src/dreamcast.h Thu Dec 22 07:38:12 2005 +0000
1.2 +++ b/src/dreamcast.h Fri Dec 23 11:44:55 2005 +0000
1.3 @@ -10,13 +10,20 @@
1.4 extern "C" {
1.5 #endif
1.6
1.7 +#define DREAMCAST_SAVE_MAGIC "%!-DreamOn!Save\0"
1.8 +#define DREAMCAST_SAVE_VERSION 0x00010000
1.9 +
1.10 +#define TIMESLICE_LENGTH 1000 /* microseconds */
1.11 +
1.12 +#define STATE_RUNNING 1
1.13 +#define STATE_STOPPING 2
1.14 +#define STATE_STOPPED 3
1.15 +
1.16 void dreamcast_init(void);
1.17 void dreamcast_reset(void);
1.18 +void dreamcast_run(void);
1.19 void dreamcast_stop(void);
1.20
1.21 -#define DREAMCAST_SAVE_MAGIC "%!-DreamOn!Save\0"
1.22 -#define DREAMCAST_SAVE_VERSION 0x00010000
1.23 -
1.24 int dreamcast_save_state( const gchar *filename );
1.25 int dreamcast_load_state( const gchar *filename );
1.26
.