cc42e6ca6795ad3ae6f38ce11459b26f7b7b1149
[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 \r
15 // draw.c\r
16 #define USE_BGR555 1\r
17 #define OVERRIDE_HIGHCOL 1\r
18 \r
19 // draw2.c\r
20 #define START_ROW  0 // which row of tiles to start rendering at?\r
21 #define END_ROW   28 // ..end\r
22 #define DRAW2_OVERRIDE_LINE_WIDTH 512\r
23 \r
24 // pico.c\r
25 extern void blit1(void);\r
26 #define DRAW_FINISH_FUNC blit1\r
27 #define CAN_HANDLE_240_LINES    1\r
28 \r
29 // logging emu events\r
30 #define EL_LOGMASK (EL_STATUS|EL_IDLE) // (EL_STATUS|EL_ANOMALY|EL_UIO|EL_SRAMIO) // xffff\r
31 \r
32 //#define dprintf(f,...) printf("%05i:%03i: " f "\n",Pico.m.frame_count,Pico.m.scanline,##__VA_ARGS__)\r
33 #define dprintf(x...)\r
34 \r
35 // platform\r
36 #define PATH_SEP      "/"\r
37 #define PATH_SEP_C    '/'\r
38 #define MENU_X2       0\r
39 \r
40 #endif //PORT_CONFIG_H\r