notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move select from evdev to upper level
[picodrive.git]
/
platform
/
gp2x
/
port_config.h
diff --git
a/platform/gp2x/port_config.h
b/platform/gp2x/port_config.h
index
239df01
..
9dc2c6a
100644
(file)
--- a/
platform/gp2x/port_config.h
+++ b/
platform/gp2x/port_config.h
@@
-3,7
+3,13
@@
#ifndef PORT_CONFIG_H
\r
#define PORT_CONFIG_H
\r
\r
#ifndef PORT_CONFIG_H
\r
#define PORT_CONFIG_H
\r
\r
-#define CPU_CALL
\r
+#define CASE_SENSITIVE_FS 1 // CS filesystem
\r
+#define DONT_OPEN_MANY_FILES 0
\r
+#define REDUCE_IO_CALLS 0
\r
+#define SIMPLE_WRITE_SOUND 0
\r
+
\r
+// draw.c
\r
+#define OVERRIDE_HIGHCOL 0
\r
\r
// draw2.c
\r
#define START_ROW 0 // which row of tiles to start rendering at?
\r
\r
// draw2.c
\r
#define START_ROW 0 // which row of tiles to start rendering at?
\r
@@
-12,7
+18,16
@@
// pico.c
\r
#define CAN_HANDLE_240_LINES 1
\r
\r
// pico.c
\r
#define CAN_HANDLE_240_LINES 1
\r
\r
-//#define dprintf(f,...) printf(f"\n",##__VA_ARGS__)
\r
+// logging emu events
\r
+#define EL_LOGMASK (EL_STATUS|EL_IDLE) // (EL_STATUS|EL_ANOMALY|EL_UIO|EL_SRAMIO|EL_INTS|EL_CDPOLL) // xffff
\r
+
\r
+//#define dprintf(f,...) printf("%05i:%03i: " f "\n",Pico.m.frame_count,Pico.m.scanline,##__VA_ARGS__)
\r
#define dprintf(x...)
\r
\r
#define dprintf(x...)
\r
\r
+// platform
\r
+#define PLAT_MAX_KEYS 32
\r
+#define PLAT_HAVE_JOY 1
\r
+#define PATH_SEP "/"
\r
+#define PATH_SEP_C '/'
\r
+
\r
#endif //PORT_CONFIG_H
\r
#endif //PORT_CONFIG_H
\r