summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-09-16 17:40:17 +0200
committerGitHub <noreply@github.com>2023-09-16 17:40:17 +0200
commit62d473305df295a3b8e955e6a2a05a1105ef893d (patch)
tree114ea862538652c81c14c282b81a29816fe5c2d1 /src/core/file_sys
parentMerge pull request #11499 from Squall-Leonhart/bitlockerfix (diff)
parentcore: improve debug workflow (diff)
downloadyuzu-62d473305df295a3b8e955e6a2a05a1105ef893d.tar
yuzu-62d473305df295a3b8e955e6a2a05a1105ef893d.tar.gz
yuzu-62d473305df295a3b8e955e6a2a05a1105ef893d.tar.bz2
yuzu-62d473305df295a3b8e955e6a2a05a1105ef893d.tar.lz
yuzu-62d473305df295a3b8e955e6a2a05a1105ef893d.tar.xz
yuzu-62d473305df295a3b8e955e6a2a05a1105ef893d.tar.zst
yuzu-62d473305df295a3b8e955e6a2a05a1105ef893d.zip
Diffstat (limited to 'src/core/file_sys')
-rw-r--r--src/core/file_sys/patch_manager.cpp4
-rw-r--r--src/core/file_sys/patch_manager.h2
2 files changed, 3 insertions, 3 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) {
diff --git a/src/core/file_sys/patch_manager.h b/src/core/file_sys/patch_manager.h
index adcde7b7d..03e9c7301 100644
--- a/src/core/file_sys/patch_manager.h
+++ b/src/core/file_sys/patch_manager.h
@@ -52,7 +52,7 @@ public:
// Checks to see if PatchNSO() will have any effect given the NSO's build ID.
// Used to prevent expensive copies in NSO loader.
- [[nodiscard]] bool HasNSOPatch(const BuildID& build_id) const;
+ [[nodiscard]] bool HasNSOPatch(const BuildID& build_id, std::string_view name) const;
// Creates a CheatList object with all
[[nodiscard]] std::vector<Core::Memory::CheatEntry> CreateCheatList(