Search
lxdream.org :: lxdream/src/dreamcast.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/dreamcast.h
changeset 422:61a0598e07ff
prev372:86aa060ddcec
next429:e581b90c3fb3
author nkeynes
date Sat Oct 06 09:03:24 2007 +0000 (12 years ago)
permissions -rw-r--r--
last change Fix compilation warnings
file annotate diff log raw
1.1 --- a/src/dreamcast.h Sat Sep 08 04:38:38 2007 +0000
1.2 +++ b/src/dreamcast.h Sat Oct 06 09:03:24 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: dreamcast.h,v 1.14 2007-09-08 04:38:38 nkeynes Exp $
1.6 + * $Id: dreamcast.h,v 1.15 2007-10-06 08:59:42 nkeynes Exp $
1.7 *
1.8 * Public interface for dreamcast.c -
1.9 * Central switchboard for the system. This pulls all the individual modules
1.10 @@ -31,11 +31,10 @@
1.11
1.12 #define DEFAULT_TIMESLICE_LENGTH 1000000 /* nanoseconds */
1.13
1.14 -#ifndef MB
1.15 #define MB *1024*1024
1.16 -#endif
1.17 +#define KB *1024
1.18
1.19 -#define XLAT_NEW_CACHE_SIZE 8 MB
1.20 +#define XLAT_NEW_CACHE_SIZE 32 MB
1.21 #define XLAT_TEMP_CACHE_SIZE 2 MB
1.22 #define XLAT_OLD_CACHE_SIZE 8 MB
1.23
1.24 @@ -58,7 +57,8 @@
1.25 struct dreamcast_config_entry *params;
1.26 } *dreamcast_config_group_t;
1.27
1.28 -
1.29 +void dreamcast_configure(void);
1.30 +void dreamcast_configure_aica_only(void);
1.31 void dreamcast_init(void);
1.32 void dreamcast_reset(void);
1.33 void dreamcast_run(void);
1.34 @@ -67,6 +67,8 @@
1.35
1.36 gboolean dreamcast_load_config( const gchar *filename );
1.37 gboolean dreamcast_save_config( const gchar *filename );
1.38 +gboolean dreamcast_load_config_stream( FILE *f );
1.39 +gboolean dreamcast_save_config_stream( FILE *f );
1.40
1.41 #define DREAMCAST_SAVE_MAGIC "%!-lxDream!Save\0"
1.42 #define DREAMCAST_SAVE_VERSION 0x00010000
.