X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fgp2x%2Fport_config.h;h=932b7e521073fa36dc88287b5ea8c2cfed9c1c08;hb=9025b93159042e856af2fb1a1e7e5017f9fee99c;hp=22b43cd56a711de0f8632a831323c1533c50f8b7;hpb=053fd9b42f2cf38194f78e37c373363fc9cb9933;p=picodrive.git diff --git a/platform/gp2x/port_config.h b/platform/gp2x/port_config.h index 22b43cd..932b7e5 100644 --- a/platform/gp2x/port_config.h +++ b/platform/gp2x/port_config.h @@ -3,11 +3,17 @@ #ifndef PORT_CONFIG_H #define PORT_CONFIG_H +#include "version.h" + #define CASE_SENSITIVE_FS 1 // CS filesystem #define DONT_OPEN_MANY_FILES 0 #define REDUCE_IO_CALLS 0 #define SIMPLE_WRITE_SOUND 0 +#define SCREEN_SIZE_FIXED 1 +#define SCREEN_WIDTH 320 +#define SCREEN_HEIGHT 240 + // draw.c #define OVERRIDE_HIGHCOL 0 @@ -24,4 +30,11 @@ //#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