fix linux 'port'
[libpicofe.git] / linux / port_config.h
... / ...
CommitLineData
1// port specific settings
2
3#ifndef PORT_CONFIG_H
4#define PORT_CONFIG_H
5
6#include "../gp2x/version.h" /* FIXME */
7
8#define NO_SYNC
9
10#define CASE_SENSITIVE_FS 1 // CS filesystem
11#define DONT_OPEN_MANY_FILES 0
12#define REDUCE_IO_CALLS 0
13#define SIMPLE_WRITE_SOUND 0
14
15#define SCREEN_SIZE_FIXED 0
16#define SCREEN_WIDTH 320
17#define SCREEN_HEIGHT 240
18
19// draw.c
20#define OVERRIDE_HIGHCOL 0
21
22// draw2.c
23#define START_ROW 0 // which row of tiles to start rendering at?
24#define END_ROW 28 // ..end
25
26// pico.c
27#define CAN_HANDLE_240_LINES 1
28
29#define SIMPLE_WRITE_SOUND 0
30#define mix_32_to_16l_stereo_lvl mix_32_to_16l_stereo
31
32#define EL_LOGMASK (EL_ANOMALY|EL_STATUS|EL_SRAMIO|EL_EEPROM|EL_UIO|EL_IDLE)//|EL_VDPDMA|EL_HVCNT|EL_ASVDP)//|EL_SVP)
33// EL_VDPDMA|EL_ASVDP|EL_SR) // |EL_BUSREQ|EL_Z80BNK)
34
35//#define dprintf(f,...) printf("%05i:%03i: " f "\n",Pico.m.frame_count,Pico.m.scanline,##__VA_ARGS__)
36#define dprintf(x...)
37
38// platform
39#define PLAT_MAX_KEYS 32
40#define PLAT_HAVE_JOY 1
41#define PATH_SEP "/"
42#define PATH_SEP_C '/'
43#define MENU_X2 0
44
45#endif //PORT_CONFIG_H
46