aboutsummaryrefslogtreecommitdiff
path: root/shell/emu/main.h
diff options
context:
space:
mode:
authorgameblabla2019-10-05 03:04:57 +0200
committergameblabla2019-10-05 03:04:57 +0200
commitd4753076e89d42cdad4a4f1ca4688fad3c56d873 (patch)
treec8641cf282f427d9329db00325e16609acca8663 /shell/emu/main.h
parent943821f94b9b2e22315fce876c2e369da7a79bcf (diff)
downloadsnesemu-d4753076e89d42cdad4a4f1ca4688fad3c56d873.tar.gz
snesemu-d4753076e89d42cdad4a4f1ca4688fad3c56d873.tar.bz2
snesemu-d4753076e89d42cdad4a4f1ca4688fad3c56d873.zip
Port the libretro core and make it standalone.
TODO : - Input should use our config file instead. - Missing audio in some games. (Star Ocean, doesn't happen with stock retroarch code. Odd...)
Diffstat (limited to 'shell/emu/main.h')
-rw-r--r--shell/emu/main.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/shell/emu/main.h b/shell/emu/main.h
new file mode 100644
index 0000000..43688c3
--- /dev/null
+++ b/shell/emu/main.h
@@ -0,0 +1,9 @@
+#ifndef MAIN_H
+#define MAIN_H
+
+int ResumeEmulation;
+// utility functions that the core requires us to implement
+extern const char* S9xGetFilename(const char* extension);
+extern const char* S9xGetDirectory(uint32_t dirtype);
+
+#endif