mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-12 22:10:29 +02:00
LogManager: Hook up save/load, remove "long names"
This commit is contained in:
1 parent
50b722152a
commit
cfe2621604
6 files changed
+62
-46
No files matched your search
+4
-2
@@ -360,9 +360,8 @@ void NativeInit(int argc, const char *argv[], const char *savegame_dir, const ch
|
||||
}
|
||||
|
||||
#ifndef _WIN32
|
||||
logger = new AndroidLogger();
|
||||
|
||||
LogManager::Init();
|
||||
logger = new AndroidLogger();
|
||||
|
||||
g_Config.AddSearchPath(user_data_path);
|
||||
g_Config.AddSearchPath(g_Config.memStickDirectory + "PSP/SYSTEM/");
|
||||
@@ -461,7 +460,10 @@ void NativeInit(int argc, const char *argv[], const char *savegame_dir, const ch
|
||||
g_Config.currentDirectory = "./";
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
// 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->SetEnable(type, true);
|
||||
|
||||
Reference in new issue
Block a user