mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-03 11:13:44 +01:00
Crashfix in JIT disassembly UI. Add sanity check in WaitUntil
This commit is contained in:
1 parent
026662b027
commit
a2e7712126
2 files changed
+5
-1
No files matched your search
@@ -39,7 +39,7 @@ void WaitUntil(double now, double timestamp) {
|
||||
}
|
||||
#else
|
||||
const double left = timestamp - now;
|
||||
if (left > 0.0) {
|
||||
if (left > 0.0 && left < 3.0) {
|
||||
usleep((long)(left * 1000000));
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user