X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=psp%2Fport_config.h;h=e60c2ea68351a441e1cb3403cb730ddca9b0ecce;hb=e99d80480196f551f7e6c06deae3750de19b4c0e;hp=fe561325ddf9af550d93f927663b3575f5d9e9f7;hpb=2b90fc61e0907707c60bb01d97645b6afc22d4ae;p=libpicofe.git diff --git a/psp/port_config.h b/psp/port_config.h index fe56132..e60c2ea 100644 --- a/psp/port_config.h +++ b/psp/port_config.h @@ -3,23 +3,40 @@ #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 + +#define SCREEN_SIZE_FIXED 1 +#define SCREEN_WIDTH 512 +#define SCREEN_HEIGHT 272 +#define MSCREEN_SIZE_FIXED 1 +#define MSCREEN_WIDTH SCREEN_WIDTH +#define MSCREEN_HEIGHT SCREEN_HEIGHT // draw.c #define USE_BGR555 1 -#define OVERRIDE_HIGHCOL 0 // 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 PATH_SEP "/" +#define PATH_SEP_C '/' +#define MENU_X2 0 + #endif //PORT_CONFIG_H