29 lines
242 B
C
29 lines
242 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();
|
||
|
|
||
|
|
||
|
|
||
|
#endif
|
||
|
|
||
|
|