e60c2ea68351a441e1cb3403cb730ddca9b0ecce
[libpicofe.git] / psp / port_config.h
1 // port specific settings\r
2 \r
3 #ifndef PORT_CONFIG_H\r
4 #define PORT_CONFIG_H\r
5 \r
6 #define CASE_SENSITIVE_FS 0\r
7 #define DONT_OPEN_MANY_FILES 1 // work around the stupid PSP ~10 open file limit\r
8 #define REDUCE_IO_CALLS 1      // another workaround\r
9 #define SIMPLE_WRITE_SOUND 0\r
10 \r
11 #define SCREEN_SIZE_FIXED 1\r
12 #define SCREEN_WIDTH  512\r
13 #define SCREEN_HEIGHT 272\r
14 #define MSCREEN_SIZE_FIXED 1\r
15 #define MSCREEN_WIDTH  SCREEN_WIDTH\r
16 #define MSCREEN_HEIGHT SCREEN_HEIGHT\r
17 \r
18 // draw.c\r
19 #define USE_BGR555 1\r
20 \r
21 // draw2.c\r
22 #define START_ROW  0 // which row of tiles to start rendering at?\r
23 #define END_ROW   28 // ..end\r
24 #define DRAW2_OVERRIDE_LINE_WIDTH 512\r
25 \r
26 // pico.c\r
27 extern void blit1(void);\r
28 #define DRAW_FINISH_FUNC blit1\r
29 #define CAN_HANDLE_240_LINES    1\r
30 \r
31 // logging emu events\r
32 #define EL_LOGMASK (EL_STATUS|EL_IDLE) // (EL_STATUS|EL_ANOMALY|EL_UIO|EL_SRAMIO) // xffff\r
33 \r
34 //#define dprintf(f,...) printf("%05i:%03i: " f "\n",Pico.m.frame_count,Pico.m.scanline,##__VA_ARGS__)\r
35 #define dprintf(x...)\r
36 \r
37 // platform\r
38 #define PATH_SEP      "/"\r
39 #define PATH_SEP_C    '/'\r
40 #define MENU_X2       0\r
41 \r
42 #endif //PORT_CONFIG_H\r