summaryrefslogtreecommitdiff
path: root/src/core/core.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r--src/core/core.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index 8f9dd5efa..1b412ac98 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -21,7 +21,7 @@
21#include "core/debugger/debugger.h" 21#include "core/debugger/debugger.h"
22#include "core/device_memory.h" 22#include "core/device_memory.h"
23#include "core/file_sys/bis_factory.h" 23#include "core/file_sys/bis_factory.h"
24#include "core/file_sys/mode.h" 24#include "core/file_sys/fs_filesystem.h"
25#include "core/file_sys/patch_manager.h" 25#include "core/file_sys/patch_manager.h"
26#include "core/file_sys/registered_cache.h" 26#include "core/file_sys/registered_cache.h"
27#include "core/file_sys/romfs_factory.h" 27#include "core/file_sys/romfs_factory.h"
@@ -102,7 +102,7 @@ FileSys::VirtualFile GetGameFileFromPath(const FileSys::VirtualFilesystem& vfs,
102 Common::SplitPath(path, &dir_name, &filename, nullptr); 102 Common::SplitPath(path, &dir_name, &filename, nullptr);
103 103
104 if (filename == "00") { 104 if (filename == "00") {
105 const auto dir = vfs->OpenDirectory(dir_name, FileSys::Mode::Read); 105 const auto dir = vfs->OpenDirectory(dir_name, FileSys::OpenMode::Read);
106 std::vector<FileSys::VirtualFile> concat; 106 std::vector<FileSys::VirtualFile> concat;
107 107
108 for (u32 i = 0; i < 0x10; ++i) { 108 for (u32 i = 0; i < 0x10; ++i) {
@@ -127,10 +127,10 @@ FileSys::VirtualFile GetGameFileFromPath(const FileSys::VirtualFilesystem& vfs,
127 } 127 }
128 128
129 if (Common::FS::IsDir(path)) { 129 if (Common::FS::IsDir(path)) {
130 return vfs->OpenFile(path + "/main", FileSys::Mode::Read); 130 return vfs->OpenFile(path + "/main", FileSys::OpenMode::Read);
131 } 131 }
132 132
133 return vfs->OpenFile(path, FileSys::Mode::Read); 133 return vfs->OpenFile(path, FileSys::OpenMode::Read);
134} 134}
135 135
136struct System::Impl { 136struct System::Impl {