frontend: generic: preliminary SDL support
[pcsx_rearmed.git] / frontend / linux / plat.c
index 1e107f4..b7152b5 100644 (file)
@@ -8,7 +8,7 @@
  * See the COPYING file in the top-level directory.
  */
 
-#define _GNU_SOURCE
+#define _GNU_SOURCE 1
 #include <stdio.h>
 #include <string.h>
 #include <stdarg.h>
@@ -48,7 +48,7 @@ int plat_get_root_dir(char *dst, int len)
                        break;
                }
 
-       return 0;
+       return j;
 }
 
 #ifdef __GP2X__