X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=psp%2Fport_config.h;h=cc42e6ca6795ad3ae6f38ce11459b26f7b7b1149;hb=b5bfb86438216d502f1f9ed14b923d3b0107c07d;hp=6958c1b3d8b1987ff3ec8650307b6cacfe3ba0fc;hpb=6f748c477fca1c4962358f163fa19e3b5710bc33;p=libpicofe.git diff --git a/psp/port_config.h b/psp/port_config.h index 6958c1b..cc42e6c 100644 --- a/psp/port_config.h +++ b/psp/port_config.h @@ -3,6 +3,15 @@ #ifndef PORT_CONFIG_H #define PORT_CONFIG_H +#define CASE_SENSITIVE_FS 0 +#define DONT_OPEN_MANY_FILES 1 // work around the stupid PSP ~10 open file limit +#define REDUCE_IO_CALLS 1 // another workaround +#define SIMPLE_WRITE_SOUND 0 + +#define SCREEN_SIZE_FIXED 1 +#define SCREEN_WIDTH 512 +#define SCREEN_HEIGHT 272 + // draw.c #define USE_BGR555 1 #define OVERRIDE_HIGHCOL 1 @@ -18,9 +27,14 @@ extern void blit1(void); #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) // 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