mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Enable the disk cache for URLs by default.
This commit is contained in:
parent
f2cefebcb6
commit
9bec81b9c5
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@
|
|||
|
||||
FileLoader *ConstructFileLoader(const std::string &filename) {
|
||||
if (filename.find("http://") == 0 || filename.find("https://") == 0)
|
||||
return new CachingFileLoader(new RetryingFileLoader(new HTTPFileLoader(filename)));
|
||||
return new CachingFileLoader(new DiskCachingFileLoader(new RetryingFileLoader(new HTTPFileLoader(filename))));
|
||||
return new LocalFileLoader(filename);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue