Annotation of generator/ym2612/state.h, revision 1.1

1.1     ! root        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

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.