Search
lxdream.org :: lxdream/src/dreamcast.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/dreamcast.h
changeset 26:ad258e3daaa5
prev23:1ec3acd0594d
next30:89b30313d757
author nkeynes
date Sat Dec 24 08:02:18 2005 +0000 (14 years ago)
permissions -rw-r--r--
last change More structure reorgs/fixes
file annotate diff log raw
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.3 @@ -1,8 +1,27 @@
1.4 +/**
1.5 + * $Id: dreamcast.h,v 1.7 2005-12-24 08:02:14 nkeynes Exp $
1.6 + *
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.11 + *
1.12 + * Copyright (c) 2005 Nathan Keynes.
1.13 + *
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.18 + *
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.23 + */
1.24
1.25 #ifndef dreamcast_H
1.26 #define dreamcast_H 1
1.27
1.28 -#include <stdlib.h>
1.29 #include <stdio.h>
1.30 #include <glib/gtypes.h>
1.31
1.32 @@ -10,14 +29,7 @@
1.33 extern "C" {
1.34 #endif
1.35
1.36 -#define DREAMCAST_SAVE_MAGIC "%!-DreamOn!Save\0"
1.37 -#define DREAMCAST_SAVE_VERSION 0x00010000
1.38 -
1.39 -#define TIMESLICE_LENGTH 1000 /* microseconds */
1.40 -
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.45
1.46 void dreamcast_init(void);
1.47 void dreamcast_reset(void);
1.48 @@ -27,11 +39,8 @@
1.49 int dreamcast_save_state( const gchar *filename );
1.50 int dreamcast_load_state( const gchar *filename );
1.51
1.52 -int open_file( gchar *filename );
1.53 -int load_bin_file( gchar *filename );
1.54 -
1.55 #ifdef __cplusplus
1.56 }
1.57 #endif
1.58
1.59 -#endif /* !dream_machine_H */
1.60 +#endif /* !dreamcast_H */
.