X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=win32%2Fport_config.h;fp=win32%2Fport_config.h;h=04b4c93f0d1fcf6ce0db86125eb21e6429fd5319;hb=8ced8d2b38431e23be1b26457110febbe10d14c7;hp=0000000000000000000000000000000000000000;hpb=6c026031a80434cda8499e2208538e0155466d6b;p=libpicofe.git diff --git a/win32/port_config.h b/win32/port_config.h new file mode 100644 index 0000000..04b4c93 --- /dev/null +++ b/win32/port_config.h @@ -0,0 +1,40 @@ +// port specific settings + +#ifndef PORT_CONFIG_H +#define PORT_CONFIG_H + +#define NO_SYNC + +#define CASE_SENSITIVE_FS 0 // 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? +#define END_ROW 28 // ..end + +// pico.c +#define CAN_HANDLE_240_LINES 1 + +#define SIMPLE_WRITE_SOUND 1 +#define mix_32_to_16l_stereo_lvl mix_32_to_16l_stereo + +#define EL_LOGMASK (EL_STATUS) + +//#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 +