diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2023-09-16 11:40:17 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-16 11:40:17 -0400 |
| commit | 424d7d422f8fc9a5259150ed66872294770e8394 (patch) | |
| tree | 114ea862538652c81c14c282b81a29816fe5c2d1 /src/core/file_sys/patch_manager.cpp | |
| parent | 8e8e1d4910de84e058f26593170e9bfa1a87a785 (diff) | |
| parent | efef3d84872a696049544f05c11d17df1e483129 (diff) | |
Merge pull request #11500 from liamwhite/debug-stuff
core: improve debug workflow
Diffstat (limited to 'src/core/file_sys/patch_manager.cpp')
| -rw-r--r-- | src/core/file_sys/patch_manager.cpp | 4 |
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 a4baddb15a..8e475f25a3 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) { |
