mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-24 00:29:57 +00:00
Qt: Enable graphics logging by default (like Win.)
This commit is contained in:
parent
3e18027b8d
commit
7c23863102
@ -49,6 +49,7 @@ QtHost::QtHost(MainWindow *mainWindow_)
|
||||
|
||||
bool QtHost::InitGL(std::string *error_string)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
void QtHost::ShutdownGL()
|
||||
@ -248,7 +249,6 @@ void NativeInit(int argc, const char *argv[], const char *savegame_directory, co
|
||||
hideLog = false;
|
||||
#endif
|
||||
|
||||
bool gfxLog = false;
|
||||
// Parse command line
|
||||
LogTypes::LOG_LEVELS logLevel = LogTypes::LINFO;
|
||||
for (int i = 1; i < argc; i++) {
|
||||
@ -258,9 +258,6 @@ void NativeInit(int argc, const char *argv[], const char *savegame_directory, co
|
||||
// Enable debug logging
|
||||
logLevel = LogTypes::LDEBUG;
|
||||
break;
|
||||
case 'g':
|
||||
gfxLog = true;
|
||||
break;
|
||||
case 'j':
|
||||
g_Config.bJit = true;
|
||||
g_Config.bSaveSettings = false;
|
||||
@ -315,8 +312,6 @@ void NativeInit(int argc, const char *argv[], const char *savegame_directory, co
|
||||
if (fileToLog != NULL)
|
||||
LogManager::GetInstance()->ChangeFileLog(fileToLog);
|
||||
|
||||
LogManager::GetInstance()->SetLogLevel(LogTypes::G3D, LogTypes::LERROR);
|
||||
|
||||
g_gameInfoCache.Init();
|
||||
|
||||
#if defined(Q_OS_LINUX) && !defined(ARM)
|
||||
|
Loading…
Reference in New Issue
Block a user