gnuboy-for-dfi/loader.h

31 lines
316 B
C

#ifndef __LOADER_H__
#define __LOADER_H__
typedef struct loader_s
{
char *rom;
char *base;
char *sram;
char *state;
int ramloaded;
} loader_t;
extern loader_t loader;
int rom_load();
int sram_load();
int sram_save();
void loader_init(char *s);
void state_save(int n);
void state_load(int n);
#endif