X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=gp2x%2Fport_config.h;h=a4eef7bad75d337244a3314a14268375315e9d3d;hb=ca69c3e5a0ecf407c02dc85c6f3282ebb1efc5a2;hp=f097a4a9aa7ac0c37beb72ec516c530ad9bfcd71;hpb=6f748c477fca1c4962358f163fa19e3b5710bc33;p=libpicofe.git diff --git a/gp2x/port_config.h b/gp2x/port_config.h index f097a4a..a4eef7b 100644 --- a/gp2x/port_config.h +++ b/gp2x/port_config.h @@ -3,8 +3,17 @@ #ifndef PORT_CONFIG_H #define PORT_CONFIG_H -// draw.c -#define OVERRIDE_HIGHCOL 0 +#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 +#define MSCREEN_SIZE_FIXED 1 +#define MSCREEN_WIDTH SCREEN_WIDTH +#define MSCREEN_HEIGHT SCREEN_HEIGHT // draw2.c #define START_ROW 0 // which row of tiles to start rendering at? @@ -14,9 +23,15 @@ #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_STATUS|EL_ANOMALY|EL_UIO|EL_SRAMIO|EL_INTS|EL_CDPOLL|EL_IDLE) //#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