mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-30 19:24:23 +01:00
Misc
This commit is contained in:
1 parent
5751e202a5
commit
3056e977cc
3 files changed
+2
-2
No files matched your search
@@ -308,7 +308,7 @@ void Section::Set(std::string_view key, const std::vector<std::string>& newValue
|
||||
temp += value + ",";
|
||||
}
|
||||
// remove last ,
|
||||
if (temp.length())
|
||||
if (!temp.empty())
|
||||
temp.resize(temp.length() - 1);
|
||||
Set(key, temp.c_str());
|
||||
}
|
||||
|
||||
@@ -672,6 +672,7 @@ void NativeInit(int argc, const char *argv[], const char *savegame_dir, const ch
|
||||
}
|
||||
|
||||
if (forceLogLevel) {
|
||||
NOTICE_LOG(Log::System, "Setting log level to %d due to command line override", (int)logLevel);
|
||||
g_logManager.SetAllLogLevels(logLevel);
|
||||
}
|
||||
|
||||
|
||||
@@ -1621,7 +1621,6 @@ extern "C" void JNICALL Java_org_ppsspp_ppsspp_NativeActivity_requestExitVulkanR
|
||||
_assert_(g_renderLoopThread.joinable());
|
||||
exitRenderLoop = true;
|
||||
g_renderLoopThread.join();
|
||||
_assert_(!g_renderLoopThread.joinable());
|
||||
g_renderLoopThread = std::thread();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user