X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Flinux%2Fport_config.h;h=e69c6297d3ae0a608d646b4de59f5309477fad2a;hb=5609d343e3b34d9fed210a1c26c2441d3f797036;hp=be76af41f1eec9aea19fa4825a2ac6224f4913b1;hpb=312e9ce192d49b4bea2f8a7e3cd2eb91a860564f;p=picodrive.git diff --git a/platform/linux/port_config.h b/platform/linux/port_config.h index be76af4..e69c629 100644 --- a/platform/linux/port_config.h +++ b/platform/linux/port_config.h @@ -3,7 +3,18 @@ #ifndef PORT_CONFIG_H #define PORT_CONFIG_H -#define CPU_CALL +#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 +#define MSCREEN_SIZE_FIXED 0 +#define MSCREEN_WIDTH SCREEN_WIDTH +#define MSCREEN_HEIGHT SCREEN_HEIGHT // draw2.c #define START_ROW 0 // which row of tiles to start rendering at? @@ -12,8 +23,18 @@ // pico.c #define CAN_HANDLE_240_LINES 1 -#define dprintf(f,...) printf("%05i: " f "\n",Pico.m.frame_count,##__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_STATUS|EL_ANOMALY|EL_UIO) +// EL_VDPDMA|EL_ASVDP|EL_SR | EL_IDLE | EL_BUSREQ|EL_Z80BNK | EL_32X) + +//#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 '/' #endif //PORT_CONFIG_H