summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKelebek1 <eeeedddccc@hotmail.co.uk>2022-02-15 05:52:28 +0100
committerKelebek1 <eeeedddccc@hotmail.co.uk>2022-02-15 05:52:28 +0100
commite1201abc1efefcb4fce33f8adfb41f0fcbccddeb (patch)
tree124360507ac3edd70827d062be0653c80e5edf82 /src
parentMerge pull request #7890 from Morph1984/utf8-console (diff)
downloadyuzu-e1201abc1efefcb4fce33f8adfb41f0fcbccddeb.tar
yuzu-e1201abc1efefcb4fce33f8adfb41f0fcbccddeb.tar.gz
yuzu-e1201abc1efefcb4fce33f8adfb41f0fcbccddeb.tar.bz2
yuzu-e1201abc1efefcb4fce33f8adfb41f0fcbccddeb.tar.lz
yuzu-e1201abc1efefcb4fce33f8adfb41f0fcbccddeb.tar.xz
yuzu-e1201abc1efefcb4fce33f8adfb41f0fcbccddeb.tar.zst
yuzu-e1201abc1efefcb4fce33f8adfb41f0fcbccddeb.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/file_sys/patch_manager.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/core/file_sys/patch_manager.cpp b/src/core/file_sys/patch_manager.cpp
index 7c0950bb0..f19ac4607 100644
--- a/src/core/file_sys/patch_manager.cpp
+++ b/src/core/file_sys/patch_manager.cpp
@@ -128,15 +128,6 @@ VirtualDir PatchManager::PatchExeFS(VirtualDir exefs) const {
if (exefs == nullptr)
return exefs;
- if (Settings::values.dump_exefs) {
- LOG_INFO(Loader, "Dumping ExeFS for title_id={:016X}", title_id);
- const auto dump_dir = fs_controller.GetModificationDumpRoot(title_id);
- if (dump_dir != nullptr) {
- const auto exefs_dir = GetOrCreateDirectoryRelative(dump_dir, "/exefs");
- VfsRawCopyD(exefs, exefs_dir);
- }
- }
-
const auto& disabled = Settings::values.disabled_addons[title_id];
const auto update_disabled =
std::find(disabled.cbegin(), disabled.cend(), "Update") != disabled.cend();
@@ -179,6 +170,15 @@ VirtualDir PatchManager::PatchExeFS(VirtualDir exefs) const {
}
}
+ if (Settings::values.dump_exefs) {
+ LOG_INFO(Loader, "Dumping ExeFS for title_id={:016X}", title_id);
+ const auto dump_dir = fs_controller.GetModificationDumpRoot(title_id);
+ if (dump_dir != nullptr) {
+ const auto exefs_dir = GetOrCreateDirectoryRelative(dump_dir, "/exefs");
+ VfsRawCopyD(exefs, exefs_dir);
+ }
+ }
+
return exefs;
}