X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=linux%2Fport_config.h;h=fc2e1188872e8f061c9041409b1d015853b853bb;hb=0d6fbb2c33a0b9eee5fcc1162f5c799bdae9e89a;hp=42be26497edf380c146830e4d98e9e8d28361f6a;hpb=53c908bb9766fb5b869cb0603798f7c5cb5f5f6c;p=libpicofe.git diff --git a/linux/port_config.h b/linux/port_config.h index 42be264..fc2e118 100644 --- a/linux/port_config.h +++ b/linux/port_config.h @@ -3,8 +3,18 @@ #ifndef PORT_CONFIG_H #define PORT_CONFIG_H -#define CPU_CALL -#define NO_IONBF +#define NO_SYNC + +#define CASE_SENSITIVE_FS 1 // CS filesystem +#define DONT_OPEN_MANY_FILES 0 +#define REDUCE_IO_CALLS 0 + +#define SCREEN_SIZE_FIXED 0 +#define SCREEN_WIDTH 320 +#define SCREEN_HEIGHT 240 + +// draw.c +#define OVERRIDE_HIGHCOL 0 // draw2.c #define START_ROW 0 // which row of tiles to start rendering at? @@ -13,8 +23,19 @@ // pico.c #define CAN_HANDLE_240_LINES 1 -#define dprintf(f,...) printf("%05i:%03i: " f "\n",Pico.m.frame_count,Pico.m.scanline,##__VA_ARGS__) -//#define dprintf(x...) +#define SIMPLE_WRITE_SOUND 0 +#define mix_32_to_16l_stereo_lvl mix_32_to_16l_stereo + +#define EL_LOGMASK (EL_ANOMALY|EL_STATUS|EL_UIO|EL_IDLE)//|EL_VDPDMA|EL_HVCNT|EL_ASVDP)//|EL_SVP) +// EL_VDPDMA|EL_ASVDP|EL_SR) // |EL_BUSREQ|EL_Z80BNK) + +//#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