mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Add a "reason" argument to sleep_ms().
sleep_ms() should generally be avoided when possible. This can be used to try to track down unnecessary sleeps by adding some logging. This commit on its own doesn't actually add any logging.
This commit is contained in:
1 parent
489db6b92c
commit
59a56d66c7
27 files changed
+53
-55
No files matched your search
@@ -211,7 +211,7 @@ bool Connection::Connect(int maxTries, double timeout, bool *cancelConnect) {
|
||||
break;
|
||||
}
|
||||
|
||||
sleep_ms(1);
|
||||
sleep_ms(1, "connect");
|
||||
}
|
||||
|
||||
// Nothing connected, unfortunately.
|
||||
|
||||
Reference in new issue
Block a user