summaryrefslogtreecommitdiff
path: root/apps/plugins/rockboy/loader.h
blob: 45ee5e705d809185374522e2383dfd4c89e49a9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28


#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