mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Loaders: Rename Path() to GetPath().
Path is going to be a struct name.
This commit is contained in:
1 parent
96c109e6ce
commit
9480b6672b
15 files changed
+32
-32
No files matched your search
@@ -133,7 +133,7 @@ std::vector<std::string> DiskCachingFileLoader::GetCachedPathsInUse() {
|
||||
void DiskCachingFileLoader::InitCache() {
|
||||
std::lock_guard<std::mutex> guard(cachesMutex_);
|
||||
|
||||
std::string path = ProxiedFileLoader::Path();
|
||||
std::string path = ProxiedFileLoader::GetPath();
|
||||
auto &entry = caches_[path];
|
||||
if (!entry) {
|
||||
entry = new DiskCachingFileLoaderCache(path, filesize_);
|
||||
@@ -149,7 +149,7 @@ void DiskCachingFileLoader::ShutdownCache() {
|
||||
if (cache_->Release()) {
|
||||
// If it ran out of counts, delete it.
|
||||
delete cache_;
|
||||
caches_.erase(ProxiedFileLoader::Path());
|
||||
caches_.erase(ProxiedFileLoader::GetPath());
|
||||
}
|
||||
cache_ = nullptr;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user