mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 01:25:07 +02:00
Misc
This commit is contained in:
@@ -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