mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 08:43:38 +01:00
Move remaining FileUtil functions into the File namespace.
This commit is contained in:
1 parent
0ccc63b43e
commit
1b13badeb4
32 files changed
+103
-103
No files matched your search
@@ -112,15 +112,15 @@ bool LocalFileLoader::Exists() {
|
||||
#else
|
||||
if (handle_ != INVALID_HANDLE_VALUE || IsDirectory()) {
|
||||
#endif
|
||||
FileInfo info;
|
||||
return getFileInfo(filename_.c_str(), &info);
|
||||
File::FileInfo info;
|
||||
return File::getFileInfo(filename_.c_str(), &info);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool LocalFileLoader::IsDirectory() {
|
||||
FileInfo info;
|
||||
if (getFileInfo(filename_.c_str(), &info)) {
|
||||
File::FileInfo info;
|
||||
if (File::getFileInfo(filename_.c_str(), &info)) {
|
||||
return info.isDirectory;
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user