summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/patch_manager.cpp
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-09-14 20:34:05 +0200
committerLiam <byteslice@airmail.cc>2023-09-14 22:44:15 +0200
commit3ef9673360089b1729ff174eefad9195d8eaf97f (patch)
tree796d1f7b918f0db4c8a2024388dbb4c51c831464 /src/core/file_sys/patch_manager.cpp
parentMerge pull request #11496 from liamwhite/ngc (diff)
downloadyuzu-3ef9673360089b1729ff174eefad9195d8eaf97f.tar
yuzu-3ef9673360089b1729ff174eefad9195d8eaf97f.tar.gz
yuzu-3ef9673360089b1729ff174eefad9195d8eaf97f.tar.bz2
yuzu-3ef9673360089b1729ff174eefad9195d8eaf97f.tar.lz
yuzu-3ef9673360089b1729ff174eefad9195d8eaf97f.tar.xz
yuzu-3ef9673360089b1729ff174eefad9195d8eaf97f.tar.zst
yuzu-3ef9673360089b1729ff174eefad9195d8eaf97f.zip
Diffstat (limited to 'src/core/file_sys/patch_manager.cpp')
-rw-r--r--src/core/file_sys/patch_manager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/file_sys/patch_manager.cpp b/src/core/file_sys/patch_manager.cpp
index a4baddb15..8e475f25a 100644
--- a/src/core/file_sys/patch_manager.cpp
+++ b/src/core/file_sys/patch_manager.cpp
@@ -294,11 +294,11 @@ std::vector<u8> PatchManager::PatchNSO(const std::vector<u8>& nso, const std::st
return out;
}
-bool PatchManager::HasNSOPatch(const BuildID& build_id_) const {
+bool PatchManager::HasNSOPatch(const BuildID& build_id_, std::string_view name) const {
const auto build_id_raw = Common::HexToString(build_id_);
const auto build_id = build_id_raw.substr(0, build_id_raw.find_last_not_of('0') + 1);
- LOG_INFO(Loader, "Querying NSO patch existence for build_id={}", build_id);
+ LOG_INFO(Loader, "Querying NSO patch existence for build_id={}, name={}", build_id, name);
const auto load_dir = fs_controller.GetModificationLoadRoot(title_id);
if (load_dir == nullptr) {