summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-10-05 15:20:39 +0200
committerZach Hilman <zachhilman@gmail.com>2018-10-13 05:27:19 +0200
commitf61379f8d2ac969cac34954e3efeaab20cfe9a67 (patch)
treee6a811f6101c6d0f2d760dbffb13a39c731f1c63 /src
parentcontent_archive: Move get key log to Trace level (diff)
downloadyuzu-f61379f8d2ac969cac34954e3efeaab20cfe9a67.tar
yuzu-f61379f8d2ac969cac34954e3efeaab20cfe9a67.tar.gz
yuzu-f61379f8d2ac969cac34954e3efeaab20cfe9a67.tar.bz2
yuzu-f61379f8d2ac969cac34954e3efeaab20cfe9a67.tar.lz
yuzu-f61379f8d2ac969cac34954e3efeaab20cfe9a67.tar.xz
yuzu-f61379f8d2ac969cac34954e3efeaab20cfe9a67.tar.zst
yuzu-f61379f8d2ac969cac34954e3efeaab20cfe9a67.zip
Diffstat (limited to '')
-rw-r--r--src/core/file_sys/patch_manager.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/core/file_sys/patch_manager.cpp b/src/core/file_sys/patch_manager.cpp
index 019caebe9..8c73a8f41 100644
--- a/src/core/file_sys/patch_manager.cpp
+++ b/src/core/file_sys/patch_manager.cpp
@@ -214,8 +214,14 @@ static void ApplyLayeredFS(VirtualFile& romfs, u64 title_id, ContentRecordType t
VirtualFile PatchManager::PatchRomFS(VirtualFile romfs, u64 ivfc_offset, ContentRecordType type,
VirtualFile update_raw) const {
- LOG_INFO(Loader, "Patching RomFS for title_id={:016X}, type={:02X}", title_id,
- static_cast<u8>(type));
+ const auto log_string = fmt::format("Patching RomFS for title_id={:016X}, type={:02X}",
+ title_id, static_cast<u8>(type))
+ .c_str();
+
+ if (type == ContentRecordType::Program)
+ LOG_INFO(Loader, log_string);
+ else
+ LOG_DEBUG(Loader, log_string);
if (romfs == nullptr)
return romfs;