diff options
author | Jens Arnold <amiconn@rockbox.org> | 2005-03-02 23:49:38 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2005-03-02 23:49:38 +0000 |
commit | 384de102469fee4e0792df8fe38586d3206774ed (patch) | |
tree | ee5342103e17738acfb8421328ea7c57433f55e6 /apps/plugins/rockboy/loader.h | |
parent | 48dad47df98bdec632e8930b6a97359dc2c428f5 (diff) | |
download | rockbox-384de102469fee4e0792df8fe38586d3206774ed.tar.gz rockbox-384de102469fee4e0792df8fe38586d3206774ed.zip |
Rockboy - gameboy emulation for rockbox, based on gnuboy. Still a bit early, but already playable on iRiver H1xx and the simulators. The archos recorder version is currently rather slow...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6104 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/rockboy/loader.h')
-rw-r--r-- | apps/plugins/rockboy/loader.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/apps/plugins/rockboy/loader.h b/apps/plugins/rockboy/loader.h new file mode 100644 index 0000000000..45ee5e705d --- /dev/null +++ b/apps/plugins/rockboy/loader.h | |||
@@ -0,0 +1,28 @@ | |||
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(void); | ||
21 | int sram_load(void); | ||
22 | int sram_save(void); | ||
23 | void loader_init(char *s); | ||
24 | void cleanup(void); | ||
25 | |||
26 | #endif | ||
27 | |||
28 | |||