X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=gp2x%2Fport_config.h;h=d6113494fa832b889ec1d61a3ff1ccd13ed054a1;hb=82abf46f3db8ade517881c03327bdbc0de848eb2;hp=f097a4a9aa7ac0c37beb72ec516c530ad9bfcd71;hpb=6f748c477fca1c4962358f163fa19e3b5710bc33;p=libpicofe.git diff --git a/gp2x/port_config.h b/gp2x/port_config.h index f097a4a..d611349 100644 --- a/gp2x/port_config.h +++ b/gp2x/port_config.h @@ -3,6 +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 @@ -14,9 +25,14 @@ #define CAN_HANDLE_240_LINES 1 // logging emu events -#define EL_LOGMASK 0 // (EL_STATUS|EL_ANOMALY|EL_UIO|EL_SRAMIO) // 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 PATH_SEP "/" +#define PATH_SEP_C '/' +#define MENU_X2 0 + #endif //PORT_CONFIG_H