summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/patch_manager.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-10-16 17:26:54 +0200
committerGitHub <noreply@github.com>2018-10-16 17:26:54 +0200
commit78f2a6a9e1d3a226a3afcec2b651cf61391921ae (patch)
treec16e94ee9f21b2c88ad0a63942416688c2ef7dd5 /src/core/file_sys/patch_manager.cpp
parentImplement VI ConvertScalingMode (#1475) (diff)
parentpatch_manager: Move non-Program RomFS patch log to Debug (diff)
downloadyuzu-78f2a6a9e1d3a226a3afcec2b651cf61391921ae.tar
yuzu-78f2a6a9e1d3a226a3afcec2b651cf61391921ae.tar.gz
yuzu-78f2a6a9e1d3a226a3afcec2b651cf61391921ae.tar.bz2
yuzu-78f2a6a9e1d3a226a3afcec2b651cf61391921ae.tar.lz
yuzu-78f2a6a9e1d3a226a3afcec2b651cf61391921ae.tar.xz
yuzu-78f2a6a9e1d3a226a3afcec2b651cf61391921ae.tar.zst
yuzu-78f2a6a9e1d3a226a3afcec2b651cf61391921ae.zip
Diffstat (limited to 'src/core/file_sys/patch_manager.cpp')
-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 c15ac8e19..0117cb0bf 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;