mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-16 07:50:28 +02:00
Add a restarting flag to NativeInit/NativeShutdown.
Will be used externally. Also cleanup some LogManager init/shutdown in case these are called multiple times on Windows.
This commit is contained in:
1 parent
bf02f7d98b
commit
638a015ced
3 files changed
+27
-3
No files matched your search
+2
-1
@@ -1094,7 +1094,8 @@ void Config::Save() {
|
||||
control->Delete("DPadRadius");
|
||||
|
||||
IniFile::Section *log = iniFile.GetOrCreateSection(logSectionName);
|
||||
LogManager::GetInstance()->SaveConfig(log);
|
||||
if (LogManager::GetInstance())
|
||||
LogManager::GetInstance()->SaveConfig(log);
|
||||
|
||||
if (!iniFile.Save(iniFilename_.c_str())) {
|
||||
ERROR_LOG(LOADER, "Error saving config - can't write ini %s", iniFilename_.c_str());
|
||||
|
||||
Reference in new issue
Block a user