mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-27 00:03:37 +01:00
http: Oops, fix crash.
Huh, I thought I tested this?
This commit is contained in:
1 parent
60afdc40b9
commit
41e167f384
1 file changed
+1
-1
@@ -54,7 +54,7 @@ DiskCachingFileLoader::~DiskCachingFileLoader() {
|
||||
}
|
||||
|
||||
bool DiskCachingFileLoader::Exists() {
|
||||
if (cache_->HasData()) {
|
||||
if (cache_ && cache_->HasData()) {
|
||||
// It may require a slow operation to check - if we have data, let's say yes.
|
||||
// This helps initial load, since we check each recent file for existence.
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user