mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-27 18:04:15 +01:00
file_sys: Use NGLOG
This commit is contained in:
parent
83aa38b239
commit
de580ccdd5
@ -114,12 +114,12 @@ u64 PartitionFilesystem::GetFileSize(const std::string& name) const {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void PartitionFilesystem::Print() const {
|
void PartitionFilesystem::Print() const {
|
||||||
LOG_DEBUG(Service_FS, "Magic: %.4s", pfs_header.magic.data());
|
NGLOG_DEBUG(Service_FS, "Magic: {:.4}", pfs_header.magic.data());
|
||||||
LOG_DEBUG(Service_FS, "Files: %u", pfs_header.num_entries);
|
NGLOG_DEBUG(Service_FS, "Files: {}", pfs_header.num_entries);
|
||||||
for (u32 i = 0; i < pfs_header.num_entries; i++) {
|
for (u32 i = 0; i < pfs_header.num_entries; i++) {
|
||||||
LOG_DEBUG(Service_FS, " > File %u: %s (0x%" PRIX64 " bytes, at 0x%" PRIX64 ")",
|
NGLOG_DEBUG(Service_FS, " > File {}: {} (0x{:X} bytes, at 0x{:X})", i,
|
||||||
i, pfs_entries[i].name.c_str(), pfs_entries[i].fs_entry.size,
|
pfs_entries[i].name.c_str(), pfs_entries[i].fs_entry.size,
|
||||||
GetFileOffset(pfs_entries[i].name));
|
GetFileOffset(pfs_entries[i].name));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} // namespace FileSys
|
} // namespace FileSys
|
||||||
|
Loading…
Reference in New Issue
Block a user