Lift length limit on Android logging

This commit is contained in:
Henrik Rydgård 2022-11-07 22:48:39 +01:00
parent 4d637342f7
commit ecd62e7eb2
2 changed files with 29 additions and 23 deletions

View file

@ -56,7 +56,7 @@ void GenericLog(LogTypes::LOG_LEVELS level, LogTypes::LOG_TYPE type, const char
if (instance) {
instance->Log(level, type, file, line, fmt, args);
} else {
// Fall back to printf if we're before the log manager has been initialized.
// Fall back to printf or direct android logger with a small buffer if the log manager hasn't been initialized yet.
#if PPSSPP_PLATFORM(ANDROID)
char temp[512];
vsnprintf(temp, sizeof(temp), fmt, args);