summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys
diff options
context:
space:
mode:
authorshinyquagsire23 <mtinc2@gmail.com>2018-04-17 17:47:11 +0200
committershinyquagsire23 <mtinc2@gmail.com>2018-04-17 17:55:29 +0200
commitde580ccdd50f349b82f2aa81f7b63cd1f0bafb00 (patch)
treeabaf4f30765ec1f4ea3e92039dad7ece8b8a2e2e /src/core/file_sys
parentfile_sys: tweaks (diff)
downloadyuzu-de580ccdd50f349b82f2aa81f7b63cd1f0bafb00.tar
yuzu-de580ccdd50f349b82f2aa81f7b63cd1f0bafb00.tar.gz
yuzu-de580ccdd50f349b82f2aa81f7b63cd1f0bafb00.tar.bz2
yuzu-de580ccdd50f349b82f2aa81f7b63cd1f0bafb00.tar.lz
yuzu-de580ccdd50f349b82f2aa81f7b63cd1f0bafb00.tar.xz
yuzu-de580ccdd50f349b82f2aa81f7b63cd1f0bafb00.tar.zst
yuzu-de580ccdd50f349b82f2aa81f7b63cd1f0bafb00.zip
Diffstat (limited to 'src/core/file_sys')
-rw-r--r--src/core/file_sys/partition_filesystem.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/file_sys/partition_filesystem.cpp b/src/core/file_sys/partition_filesystem.cpp
index 12ba5f315..4a58a9291 100644
--- a/src/core/file_sys/partition_filesystem.cpp
+++ b/src/core/file_sys/partition_filesystem.cpp
@@ -114,12 +114,12 @@ u64 PartitionFilesystem::GetFileSize(const std::string& name) const {
}
void PartitionFilesystem::Print() const {
- LOG_DEBUG(Service_FS, "Magic: %.4s", pfs_header.magic.data());
- LOG_DEBUG(Service_FS, "Files: %u", pfs_header.num_entries);
+ NGLOG_DEBUG(Service_FS, "Magic: {:.4}", pfs_header.magic.data());
+ NGLOG_DEBUG(Service_FS, "Files: {}", pfs_header.num_entries);
for (u32 i = 0; i < pfs_header.num_entries; i++) {
- LOG_DEBUG(Service_FS, " > File %u: %s (0x%" PRIX64 " bytes, at 0x%" PRIX64 ")",
- i, pfs_entries[i].name.c_str(), pfs_entries[i].fs_entry.size,
- GetFileOffset(pfs_entries[i].name));
+ NGLOG_DEBUG(Service_FS, " > File {}: {} (0x{:X} bytes, at 0x{:X})", i,
+ pfs_entries[i].name.c_str(), pfs_entries[i].fs_entry.size,
+ GetFileOffset(pfs_entries[i].name));
}
}
} // namespace FileSys