X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=gp2x%2Fport_config.h;h=5480ae8314f4af4ed6a80232c25b7b6347ee93a3;hb=046c454067c66b783417f4a61ab1445d06412d66;hp=239df01fcfbbffab96bdb474b116bc4aec284bb9;hpb=720ee7f6244cb51cc123a7fd16832161db9a3b4d;p=libpicofe.git diff --git a/gp2x/port_config.h b/gp2x/port_config.h index 239df01..5480ae8 100644 --- a/gp2x/port_config.h +++ b/gp2x/port_config.h @@ -3,7 +3,17 @@ #ifndef PORT_CONFIG_H #define PORT_CONFIG_H -#define CPU_CALL +#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 // draw2.c #define START_ROW 0 // which row of tiles to start rendering at? @@ -12,7 +22,15 @@ // pico.c #define CAN_HANDLE_240_LINES 1 -//#define dprintf(f,...) printf(f"\n",##__VA_ARGS__) +// logging emu events +#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