Search
lxdream.org :: lxdream/src/dreamcast.h
lxdream 0.9.1
released Jun 29
Download Now
filename src/dreamcast.h
changeset 18:9a1b5d75703f
prev17:944f75eea496
next19:9da7a8e38f9d
author nkeynes
date Thu Dec 15 13:33:14 2005 +0000 (13 years ago)
permissions -rw-r--r--
last change Implement save states
file annotate diff log raw
nkeynes@2
     1
nkeynes@2
     2
#ifndef dreamcast_H
nkeynes@2
     3
#define dreamcast_H 1
nkeynes@2
     4
nkeynes@15
     5
#include <stdlib.h>
nkeynes@15
     6
#include <stdio.h>
nkeynes@18
     7
#include <glib/gtypes.h>
nkeynes@15
     8
nkeynes@15
     9
#ifdef __cplusplus
nkeynes@15
    10
extern "C" {
nkeynes@15
    11
#endif
nkeynes@15
    12
nkeynes@2
    13
void dreamcast_init(void);
nkeynes@2
    14
void dreamcast_reset(void);
nkeynes@2
    15
void dreamcast_stop(void);
nkeynes@2
    16
nkeynes@15
    17
#define DREAMCAST_SAVE_MAGIC "%!-DreamOn!Save\0"
nkeynes@15
    18
#define DREAMCAST_SAVE_VERSION 0x00010000
nkeynes@15
    19
nkeynes@18
    20
int dreamcast_save_state( const gchar *filename );
nkeynes@18
    21
int dreamcast_load_state( const gchar *filename );
nkeynes@18
    22
nkeynes@18
    23
int open_file( gchar *filename );
nkeynes@18
    24
nkeynes@15
    25
nkeynes@15
    26
#ifdef __cplusplus
nkeynes@15
    27
}
nkeynes@15
    28
#endif
nkeynes@15
    29
nkeynes@2
    30
#endif /* !dream_machine_H */
.