1.1 --- a/src/dreamcast.h Fri Dec 23 11:44:55 2005 +0000
1.2 +++ b/src/dreamcast.h Sat Dec 24 08:02:18 2005 +0000
1.5 + * $Id: dreamcast.h,v 1.7 2005-12-24 08:02:14 nkeynes Exp $
1.7 + * Public interface for dreamcast.c -
1.8 + * Central switchboard for the system. This pulls all the individual modules
1.9 + * together into some kind of coherent structure. This is also where you'd
1.10 + * add Naomi support, if I ever get a board to play with...
1.12 + * Copyright (c) 2005 Nathan Keynes.
1.14 + * This program is free software; you can redistribute it and/or modify
1.15 + * it under the terms of the GNU General Public License as published by
1.16 + * the Free Software Foundation; either version 2 of the License, or
1.17 + * (at your option) any later version.
1.19 + * This program is distributed in the hope that it will be useful,
1.20 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
1.21 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1.22 + * GNU General Public License for more details.
1.26 #define dreamcast_H 1
1.28 -#include <stdlib.h>
1.30 #include <glib/gtypes.h>
1.36 -#define DREAMCAST_SAVE_MAGIC "%!-DreamOn!Save\0"
1.37 -#define DREAMCAST_SAVE_VERSION 0x00010000
1.39 -#define TIMESLICE_LENGTH 1000 /* microseconds */
1.41 -#define STATE_RUNNING 1
1.42 -#define STATE_STOPPING 2
1.43 -#define STATE_STOPPED 3
1.44 +#define DEFAULT_TIMESLICE_LENGTH 1000 /* microseconds */
1.46 void dreamcast_init(void);
1.47 void dreamcast_reset(void);
1.49 int dreamcast_save_state( const gchar *filename );
1.50 int dreamcast_load_state( const gchar *filename );
1.52 -int open_file( gchar *filename );
1.53 -int load_bin_file( gchar *filename );
1.59 -#endif /* !dream_machine_H */
1.60 +#endif /* !dreamcast_H */