mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 21:39:52 +00:00
Remove outdated code that reset the logenabled flags on non-Windows. Fixes #12291
This commit is contained in:
parent
caff4591cc
commit
01179c2d90
@ -650,15 +650,6 @@ void NativeInit(int argc, const char *argv[], const char *savegame_dir, const ch
|
||||
|
||||
PostLoadConfig();
|
||||
|
||||
// Hard reset the logs. TODO: Get rid of this and read from config.
|
||||
#ifndef _WIN32
|
||||
for (int i = 0; i < LogTypes::NUMBER_OF_LOGS; i++) {
|
||||
LogTypes::LOG_TYPE type = (LogTypes::LOG_TYPE)i;
|
||||
logman->SetEnabled(type, true);
|
||||
logman->SetLogLevel(type, logLevel);
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(__ANDROID__) || (defined(MOBILE_DEVICE) && !defined(_DEBUG))
|
||||
// Enable basic logging for any kind of mobile device, since LogManager doesn't.
|
||||
// The MOBILE_DEVICE/_DEBUG condition matches LogManager.cpp.
|
||||
|
Loading…
Reference in New Issue
Block a user