Develop and Download Open Source Software

Browse CVS Repository

Contents of /mame32jp/mame32jp/src/state.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.5 - (show annotations) (download) (as text)
Wed Apr 24 03:53:20 2002 UTC (21 years, 11 months ago) by zero
Branch: MAIN
CVS Tags: ver_0_60_1, ver0_59_13, ver0_59_14, ver0_60_2, ver0_60_3, ver0_60_4, ver0_60_5, HEAD
Changes since 1.4: +0 -0 lines
File MIME type: text/x-chdr
*** empty log message ***

1 #ifndef _STATE_H
2 #define _STATE_H
3
4 #include "osd_cpu.h"
5
6 /* Initializes the save state registrations */
7 void state_save_reset(void);
8
9 /* Registering functions */
10 void state_save_register_UINT8 (const char *module, int instance,
11 const char *name, UINT8 *val, unsigned size);
12 void state_save_register_INT8 (const char *module, int instance,
13 const char *name, INT8 *val, unsigned size);
14 void state_save_register_UINT16(const char *module, int instance,
15 const char *name, UINT16 *val, unsigned size);
16 void state_save_register_INT16 (const char *module, int instance,
17 const char *name, INT16 *val, unsigned size);
18 void state_save_register_UINT32(const char *module, int instance,
19 const char *name, UINT32 *val, unsigned size);
20 void state_save_register_INT32 (const char *module, int instance,
21 const char *name, INT32 *val, unsigned size);
22 void state_save_register_double(const char *module, int instance,
23 const char *name, double *val, unsigned size);
24 void state_save_register_int (const char *module, int instance,
25 const char *name, int *val);
26
27
28 void state_save_register_func_presave(void (*func)(void));
29 void state_save_register_func_postload(void (*func)(void));
30
31 /* Save and load functions */
32 /* The tags are a hack around the current cpu structures */
33 void state_save_save_begin(void *file);
34 int state_save_load_begin(void *file);
35
36 void state_save_set_current_tag(int tag);
37 void state_save_save_continue(void);
38 void state_save_load_continue(void);
39
40 void state_save_save_finish(void);
41 void state_save_load_finish(void);
42
43 /* Display function */
44 void state_save_dump_registry(void);
45
46 #endif

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26