384de10246
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6104 a1c6a512-1295-4272-9138-f99709370657
28 lines
299 B
C
28 lines
299 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(void);
|
|
int sram_load(void);
|
|
int sram_save(void);
|
|
void loader_init(char *s);
|
|
void cleanup(void);
|
|
|
|
#endif
|
|
|
|
|