summaryrefslogtreecommitdiff
path: root/apps/plugins/zxbox/helpers.h
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2006-09-15 11:11:16 +0000
committerDave Chapman <dave@dchapman.com>2006-09-15 11:11:16 +0000
commit05a7f14f8dbf46fa64c035127ff1e04cfffb841b (patch)
treec107a0038736337811de70dd0e48e670d35246a2 /apps/plugins/zxbox/helpers.h
parent1350d57751f30f1700912e6abaa1d845af973f75 (diff)
Initial commit of zxbox - a ZX Spectrum emulator ported by Anton Romanov. It theoretically runs on all targets, but I have not included it in the Archos builds because it is just too slow to be usable.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10950 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/zxbox/helpers.h')
-rw-r--r--apps/plugins/zxbox/helpers.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/apps/plugins/zxbox/helpers.h b/apps/plugins/zxbox/helpers.h
new file mode 100644
index 0000000000..ba8607d5cb
--- /dev/null
+++ b/apps/plugins/zxbox/helpers.h
@@ -0,0 +1,15 @@
+#ifndef HELPERS_H
+#define HELPERS_H
+
+extern int my_getc(int);
+extern int my_putc(char,int);
+extern off_t my_ftell(int);
+extern void *my_malloc(size_t size);
+
+
+#define getc my_getc
+#define malloc my_malloc
+#define ftell my_ftell
+#define putc my_putc
+
+#endif /* HELPERS_H */