repo.or.cz
/
rofl0r-gnuboy.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
configure.ac: only test for sdl1 if sdl2 wasn't detected
[rofl0r-gnuboy.git]
/
loader.h
blob
b86d930ced7f74d5da9d2b1158777392c94ddcd5
1
2
3
#ifndef __LOADER_H__
4
#define __LOADER_H__
5
6
7
typedef
struct
loader_s
8
{
9
char
*
rom
;
10
char
*
base
;
11
char
*
sram
;
12
char
*
state
;
13
int
ramloaded
;
14
}
loader_t
;
15
16
17
extern
loader_t loader
;
18
19
20
int
rom_load
();
21
int
sram_load
();
22
int
sram_save
();
23
24
void
loader_init
(
char
*
s
);
25
void
state_save
(
int
n
);
26
void
state_load
(
int
n
);
27
28
#endif
29
30