fix implicit-function-declaration warnings/errors.
authoraliaspider <aliaspider@gmail.com>
Thu, 2 Mar 2017 08:40:25 +0000 (09:40 +0100)
committeraliaspider <aliaspider@gmail.com>
Thu, 2 Mar 2017 08:40:25 +0000 (09:40 +0100)
frontend/main.c
libpcsxcore/plugins.c

index 89e96e4..6887dd1 100644 (file)
@@ -772,7 +772,7 @@ int emu_save_state(int slot)
                return ret;
 
        ret = SaveState(fname);
-#ifdef HAVE_PRE_ARMV7 /* XXX GPH hack */
+#if defined(HAVE_PRE_ARMV7) && !defined(_3DS) /* XXX GPH hack */
        sync();
 #endif
        SysPrintf("* %s \"%s\" [%d]\n",
index c27ce4f..afe3f3b 100644 (file)
@@ -23,6 +23,7 @@
 
 #include "plugins.h"
 #include "cdriso.h"
+#include "../plugins/dfinput/externals.h"
 
 static char IsoFile[MAXPATHLEN] = "";
 static s64 cdOpenCaseTime = 0;