summaryrefslogtreecommitdiff
path: root/libretro.c
diff options
context:
space:
mode:
authoraliaspider2014-12-09 01:59:02 +0100
committeraliaspider2014-12-09 01:59:02 +0100
commit50df6df600745247af98d0f6ed52f80043c9922b (patch)
tree216798810143c77fe838b1dfbaced3aba0e986fe /libretro.c
parent38158f67e2d8a9c8c43b3b3598a56f3d86a727f8 (diff)
downloadpicogpsp-50df6df600745247af98d0f6ed52f80043c9922b.tar.gz
picogpsp-50df6df600745247af98d0f6ed52f80043c9922b.tar.bz2
picogpsp-50df6df600745247af98d0f6ed52f80043c9922b.zip
fix undefined referances.
Diffstat (limited to 'libretro.c')
-rw-r--r--libretro.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/libretro.c b/libretro.c
index ae427e6..381a471 100644
--- a/libretro.c
+++ b/libretro.c
@@ -21,6 +21,15 @@ struct retro_perf_callback perf_cb;
static cothread_t main_thread;
static cothread_t cpu_thread;
+/* to be removed */
+u32 savestate_slot = 0;
+void get_savestate_filename_noshot(u32 slot, char *name_buffer)
+{
+ (void) slot;
+ sprintf(name_buffer, "dummy.svs");
+}
+/* ------------ */
+
void switch_to_main_thread(void)
{
co_switch(main_thread);