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=1503593f6e23b740caa4b3fe518be3be7c4df347;hpb=ca61ee42d9298aeb5a5c97d9addaa1832af41d67;p=picodrive.git diff --git a/platform/gp2x/port_config.h b/platform/gp2x/port_config.h index 1503593..932b7e5 100644 --- a/platform/gp2x/port_config.h +++ b/platform/gp2x/port_config.h @@ -3,9 +3,16 @@ #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 @@ -18,9 +25,16 @@ #define CAN_HANDLE_240_LINES 1 // logging emu events -#define EL_LOGMASK EL_STATUS // (EL_STATUS|EL_ANOMALY|EL_UIO|EL_SRAMIO|EL_INTS|EL_CDPOLL) // xffff +#define EL_LOGMASK (EL_STATUS|EL_IDLE) // (EL_STATUS|EL_ANOMALY|EL_UIO|EL_SRAMIO|EL_INTS|EL_CDPOLL) // xffff //#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