extend mmap wrapper functionality
[libpicofe.git] / psp / port_config.h
CommitLineData
2951214e 1// port specific settings\r
2\r
3#ifndef PORT_CONFIG_H\r
4#define PORT_CONFIG_H\r
5\r
a6df06b7 6#define CASE_SENSITIVE_FS 0\r
60a10527 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
41ec19af 9#define SIMPLE_WRITE_SOUND 0\r
a6df06b7 10\r
e31266dd 11#define SCREEN_SIZE_FIXED 1\r
12#define SCREEN_WIDTH 512\r
13#define SCREEN_HEIGHT 272\r
b6eccda3 14#define MSCREEN_SIZE_FIXED 1\r
15#define MSCREEN_WIDTH SCREEN_WIDTH\r
16#define MSCREEN_HEIGHT SCREEN_HEIGHT\r
e31266dd 17\r
2951214e 18// draw.c\r
2b90fc61 19#define USE_BGR555 1\r
2951214e 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
db298784 24#define DRAW2_OVERRIDE_LINE_WIDTH 512\r
2951214e 25\r
26// pico.c\r
6f748c47 27extern void blit1(void);\r
28#define DRAW_FINISH_FUNC blit1\r
2951214e 29#define CAN_HANDLE_240_LINES 1\r
30\r
31// logging emu events\r
8a091e48 32#define EL_LOGMASK (EL_STATUS|EL_IDLE) // (EL_STATUS|EL_ANOMALY|EL_UIO|EL_SRAMIO) // xffff\r
2951214e 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
36f6fd5a 37// platform\r
36f6fd5a 38#define PATH_SEP "/"\r
39#define PATH_SEP_C '/'\r
3ffee69c 40#define MENU_X2 0\r
36f6fd5a 41\r
2951214e 42#endif //PORT_CONFIG_H\r