X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=psp%2Fport_config.h;h=a59692ccd5b512e3d82a1507c751db5bb0f0f585;hb=e31266dd116b6bea59ce3f2036feeb6725c45a72;hp=3bd139df00c6389bb997da98f866c76bb88a9ab6;hpb=41ec19af1e5a75e799e2c26091548790b41acb6c;p=libpicofe.git diff --git a/psp/port_config.h b/psp/port_config.h index 3bd139d..a59692c 100644 --- a/psp/port_config.h +++ b/psp/port_config.h @@ -8,6 +8,10 @@ #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 @@ -23,9 +27,15 @@ extern void blit1(void); #define CAN_HANDLE_240_LINES 1 // logging emu events -#define EL_LOGMASK EL_STATUS // (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