diff options
author | Lioncash <mathew1800@gmail.com> | 2020-08-15 08:33:16 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-08-16 06:52:40 -0400 |
commit | c4ed791164df7e3e74042a37a62077b4dc4ade91 (patch) | |
tree | 12bbcc09d0db32a0b6b5dc1bc49245964486da63 /src/core/core.cpp | |
parent | db96034ea429cf0b0b5e2bac790392d9e2f50990 (diff) |
common/fileutil: Convert namespace to Common::FS
Migrates a remaining common file over to the Common namespace, making it
consistent with the rest of common files.
This also allows for high-traffic FS related code to alias the
filesystem function namespace as
namespace FS = Common::FS;
for more concise typing.
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r-- | src/core/core.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index 42277e2cd0..1d8c0f1cd7 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -113,7 +113,7 @@ FileSys::VirtualFile GetGameFileFromPath(const FileSys::VirtualFilesystem& vfs, return FileSys::ConcatenatedVfsFile::MakeConcatenatedFile(concat, dir->GetName()); } - if (FileUtil::IsDirectory(path)) + if (Common::FS::IsDirectory(path)) return vfs->OpenFile(path + "/" + "main", FileSys::Mode::Read); return vfs->OpenFile(path, FileSys::Mode::Read); |