mirror of
https://github.com/libretro/ppsspp.git
synced 2025-01-29 12:52:34 +00:00
Buildfix
This commit is contained in:
parent
4f707a1022
commit
7c0761ef15
@ -610,7 +610,7 @@ void ConsoleListener::Log(const LogMessage &msg) {
|
||||
if (bUseColor)
|
||||
{
|
||||
strcpy(ResetAttr, "\033[0m");
|
||||
switch (Level)
|
||||
switch (msg.Level)
|
||||
{
|
||||
case NOTICE_LEVEL: // light green
|
||||
strcpy(ColorAttr, "\033[92m");
|
||||
|
@ -469,10 +469,10 @@ void NativeInit(int argc, const char *argv[], const char *savegame_dir, const ch
|
||||
LogTypes::LOG_TYPE type = (LogTypes::LOG_TYPE)i;
|
||||
logman->SetEnabled(type, true);
|
||||
logman->SetLogLevel(type, logLevel);
|
||||
#ifdef __ANDROID__
|
||||
logman->AddListener(type, logger);
|
||||
#endif
|
||||
}
|
||||
#ifdef __ANDROID__
|
||||
logman->AddListener(logger);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// Allow the lang directory to be overridden for testing purposes (e.g. Android, where it's hard to
|
||||
|
Loading…
x
Reference in New Issue
Block a user