Go to the documentation of this file.
13 #include <android/log.h>
14 #define ad_printf(...) __android_log_print(ANDROID_LOG_INFO, "openMSX", __VA_ARGS__)
16 #define ad_printf(...)
33 typedef unsigned char byte;
38 typedef unsigned short word;
44 void DebugPrint(
const char* output);
46 #define PRT_DEBUG(mes) \
48 std::ostringstream output; \
50 std::cout << output << std::endl; \
51 ::openmsx::DebugPrint(output.str().c_str()); \
53 #elif PLATFORM_ANDROID
54 #define PRT_DEBUG(mes) \
56 std::ostringstream output; \
58 std::cout << output << std::endl; \
59 __android_log_write(ANDROID_LOG_DEBUG, "openMSX", output.str().c_str()); \
62 #define PRT_DEBUG(mes) \
64 std::cout << mes << std::endl; \
69 #define PRT_DEBUG(mes)