extern "C" {\r
#endif\r
\r
+// message log\r
+extern void lprintf(const char *fmt, ...);\r
+\r
// external funcs for Sega/Mega CD\r
extern int mp3_get_bitrate(void *f, int size);\r
extern void mp3_start_play(void *f, int pos);\r
// this function should write-back d-cache and invalidate i-cache\r
// on a mem region [start_addr, end_addr)\r
// used by dynarecs\r
-extern void cache_flush_d_inval_i(const void *start_addr, const void *end_addr);\r
+extern void cache_flush_d_inval_i(void *start_addr, void *end_addr);\r
\r
// attempt to alloc mem at specified address.\r
// alloc anywhere else if that fails (callers should handle that)\r