summaryrefslogtreecommitdiff
path: root/apps/plugins/rockboy/loader.h
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-03-02 23:49:38 +0000
committerJens Arnold <amiconn@rockbox.org>2005-03-02 23:49:38 +0000
commit384de102469fee4e0792df8fe38586d3206774ed (patch)
treeee5342103e17738acfb8421328ea7c57433f55e6 /apps/plugins/rockboy/loader.h
parent48dad47df98bdec632e8930b6a97359dc2c428f5 (diff)
downloadrockbox-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.h28
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
7typedef struct loader_s
8{
9 char *rom;
10 char *base;
11 char *sram;
12 char *state;
13 int ramloaded;
14} loader_t;
15
16
17extern loader_t loader;
18
19
20int rom_load(void);
21int sram_load(void);
22int sram_save(void);
23void loader_init(char *s);
24void cleanup(void);
25
26#endif
27
28