mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-27 16:23:35 +01:00
http: Make sure we don't hang checking existence.
It's not great to delay loading when the server is down - we'll do a proper check when we display the games. This also fixes shutdown being slow.
This commit is contained in:
1 parent
c793efd69a
commit
429346bb94
12 files changed
+90
-14
No files matched your search
@@ -35,6 +35,14 @@ bool RetryingFileLoader::Exists() {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool RetryingFileLoader::ExistsFast() {
|
||||
if (!backend_->ExistsFast()) {
|
||||
// Retry once, immediately.
|
||||
return backend_->ExistsFast();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
bool RetryingFileLoader::IsDirectory() {
|
||||
// Can't tell if it's an error either way.
|
||||
return backend_->IsDirectory();
|
||||
|
||||
Reference in new issue
Block a user