fix linux 'port'
[libpicofe.git] / linux / port_config.h
index 87bbe4b..1b493ca 100644 (file)
@@ -3,6 +3,8 @@
 #ifndef PORT_CONFIG_H
 #define PORT_CONFIG_H
 
+#include "../gp2x/version.h" /* FIXME */
+
 #define NO_SYNC
 
 #define CASE_SENSITIVE_FS 1 // CS filesystem
 #define REDUCE_IO_CALLS 0
 #define SIMPLE_WRITE_SOUND 0
 
+#define SCREEN_SIZE_FIXED 0
+#define SCREEN_WIDTH  320
+#define SCREEN_HEIGHT 240
+
 // draw.c
 #define OVERRIDE_HIGHCOL 0
 
 //#define dprintf(f,...) printf("%05i:%03i: " f "\n",Pico.m.frame_count,Pico.m.scanline,##__VA_ARGS__)
 #define dprintf(x...)
 
+// platform
+#define PLAT_MAX_KEYS 32
+#define PLAT_HAVE_JOY 1
+#define PATH_SEP      "/"
+#define PATH_SEP_C    '/'
+#define MENU_X2       0
+
 #endif //PORT_CONFIG_H