summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2019-09-22 04:43:49 +0200
committerZach Hilman <zachhilman@gmail.com>2019-09-22 04:43:49 +0200
commit2bddc0346815bf5e893ad9611d89dbb0d511e32f (patch)
treea613f239938891b6d89c37df63caf5d842de8070 /src/core/file_sys
parentdmnt_cheat_vm: Make Cheat VM compliant to code style (diff)
downloadyuzu-2bddc0346815bf5e893ad9611d89dbb0d511e32f.tar
yuzu-2bddc0346815bf5e893ad9611d89dbb0d511e32f.tar.gz
yuzu-2bddc0346815bf5e893ad9611d89dbb0d511e32f.tar.bz2
yuzu-2bddc0346815bf5e893ad9611d89dbb0d511e32f.tar.lz
yuzu-2bddc0346815bf5e893ad9611d89dbb0d511e32f.tar.xz
yuzu-2bddc0346815bf5e893ad9611d89dbb0d511e32f.tar.zst
yuzu-2bddc0346815bf5e893ad9611d89dbb0d511e32f.zip
Diffstat (limited to 'src/core/file_sys')
-rw-r--r--src/core/file_sys/patch_manager.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/file_sys/patch_manager.cpp b/src/core/file_sys/patch_manager.cpp
index 90b537834..df0ecb15c 100644
--- a/src/core/file_sys/patch_manager.cpp
+++ b/src/core/file_sys/patch_manager.cpp
@@ -278,8 +278,7 @@ std::optional<std::vector<Memory::CheatEntry>> ReadCheatFileFromFolder(
std::vector<Memory::CheatEntry> PatchManager::CreateCheatList(
const Core::System& system, const std::array<u8, 32>& build_id_) const {
- const auto load_dir =
- Core::System::GetInstance().GetFileSystemController().GetModificationLoadRoot(title_id);
+ const auto load_dir = system.GetFileSystemController().GetModificationLoadRoot(title_id);
if (load_dir == nullptr) {
LOG_ERROR(Loader, "Cannot load mods for invalid title_id={:016X}", title_id);
return {};