Fixed Android compilation
This commit is contained in:
@@ -121,7 +121,7 @@ char *DumpDebugFacilityNames(char *buf, char *last)
|
||||
void DebugPrint(const char *level, const std::string &message)
|
||||
{
|
||||
#ifdef __ANDROID__
|
||||
__android_log_print(ANDROID_LOG_INFO, "OpenTTD", "[%s] %s", dbg, buf);
|
||||
__android_log_print(ANDROID_LOG_INFO, "OpenTTD", "[%s] %s", level, message.c_str());
|
||||
#endif
|
||||
if (_debug_socket != INVALID_SOCKET) {
|
||||
std::string msg = fmt::format("{}dbg: [{}] {}\n", GetLogPrefix(), level, message);
|
||||
|
||||
Reference in New Issue
Block a user