mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-13 06:20:26 +02:00
Minor cleanup
This commit is contained in:
1 parent
4b123a2e09
commit
d8f82b5875
3 files changed
+15
-7
No files matched your search
+2
-2
@@ -426,8 +426,8 @@ static void ExecuteWebServer() {
|
||||
RegisterServer(http->Port());
|
||||
double lastRegister = time_now_d();
|
||||
while (RetrieveStatus() == ServerStatus::RUNNING) {
|
||||
http->RunSlice(1.0);
|
||||
|
||||
constexpr double webServerSliceSeconds = 0.2f;
|
||||
http->RunSlice(webServerSliceSeconds);
|
||||
double now = time_now_d();
|
||||
if (now > lastRegister + 540.0) {
|
||||
RegisterServer(http->Port());
|
||||
|
||||
Reference in new issue
Block a user