X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fpsp%2Fport_config.h;h=56513c0746d15bf3bc62d9c593736adbeb7c9c60;hb=c060a9ab9c428e1ed9c4159b56529a2a36031e44;hp=486a877c2eb6b1f5c348828c55b0ed8b83cfa4aa;hpb=9112b6ce9fd42ee46adb7e8148e587a7f60e35f4;p=picodrive.git diff --git a/platform/psp/port_config.h b/platform/psp/port_config.h index 486a877..56513c0 100644 --- a/platform/psp/port_config.h +++ b/platform/psp/port_config.h @@ -3,7 +3,10 @@ #ifndef PORT_CONFIG_H #define PORT_CONFIG_H -#define CPU_CALL +#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 // draw.c #define USE_BGR555 1 @@ -15,10 +18,12 @@ #define DRAW2_OVERRIDE_LINE_WIDTH 512 // pico.c +extern void blit1(void); +#define DRAW_FINISH_FUNC blit1 #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...)