diff options
author | Zach Hilman <zachhilman@gmail.com> | 2019-09-22 04:43:49 +0200 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2019-09-22 04:43:49 +0200 |
commit | 2bddc0346815bf5e893ad9611d89dbb0d511e32f (patch) | |
tree | a613f239938891b6d89c37df63caf5d842de8070 /src/core/file_sys/patch_manager.cpp | |
parent | dmnt_cheat_vm: Make Cheat VM compliant to code style (diff) | |
download | yuzu-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 '')
-rw-r--r-- | src/core/file_sys/patch_manager.cpp | 3 |
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 {}; |