X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=psp%2Fport_config.h;h=4659b62b26c2635cc1b5c55d17ed23305fd853e3;hb=61f66fe0ab7ab4047a2c005fc52afeb50c26fc12;hp=dcd503261f5ccb6887939d61613c8e6ea5c03950;hpb=2951214ea65ce2e2ac40671511b8d5a9ea2d2842;p=libpicofe.git diff --git a/psp/port_config.h b/psp/port_config.h index dcd5032..4659b62 100644 --- a/psp/port_config.h +++ b/psp/port_config.h @@ -3,22 +3,35 @@ #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 OVERRIDE_HIGHCOL 0 +#define USE_BGR555 1 +#define OVERRIDE_HIGHCOL 1 // draw2.c #define START_ROW 0 // which row of tiles to start rendering at? #define END_ROW 28 // ..end +#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...) +// platform +#define PLAT_MAX_KEYS 32 +#define PLAT_HAVE_JOY 0 +#define PATH_SEP "/" +#define PATH_SEP_C '/' + #endif //PORT_CONFIG_H