mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-27 16:23:35 +01:00
Don't cache time in a variable.
A little weirdness in the code that has stuck around for a long, long time. It's really not necessary and mostly just confusing.
This commit is contained in:
1 parent
c4c7897a26
commit
054acf768c
27 files changed
+68
-125
No files matched your search
@@ -427,12 +427,12 @@ void RemoteISOConnectScreen::update() {
|
||||
break;
|
||||
|
||||
case ScanStatus::FAILED:
|
||||
nextRetry_ = real_time_now() + 15.0;
|
||||
nextRetry_ = time_now_d() + 15.0;
|
||||
status_ = ScanStatus::RETRY_SCAN;
|
||||
break;
|
||||
|
||||
case ScanStatus::RETRY_SCAN:
|
||||
if (nextRetry_ < real_time_now()) {
|
||||
if (nextRetry_ < time_now_d()) {
|
||||
status_ = ScanStatus::SCANNING;
|
||||
nextRetry_ = 0.0;
|
||||
|
||||
|
||||
Reference in new issue
Block a user