summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-07-30 19:09:36 +0200
committerGitHub <noreply@github.com>2018-07-30 19:09:36 +0200
commit45d143853042c4bc6840f8fcb0e45d8186f4df61 (patch)
tree261983550417a172a6384102b9390b338b0b8045
parentMerge pull request #860 from FearlessTobi/port-3911 (diff)
parentpartition_filesystem: Remove dynamic_cast in PrintDebugInfo() (diff)
downloadyuzu-45d143853042c4bc6840f8fcb0e45d8186f4df61.tar
yuzu-45d143853042c4bc6840f8fcb0e45d8186f4df61.tar.gz
yuzu-45d143853042c4bc6840f8fcb0e45d8186f4df61.tar.bz2
yuzu-45d143853042c4bc6840f8fcb0e45d8186f4df61.tar.lz
yuzu-45d143853042c4bc6840f8fcb0e45d8186f4df61.tar.xz
yuzu-45d143853042c4bc6840f8fcb0e45d8186f4df61.tar.zst
yuzu-45d143853042c4bc6840f8fcb0e45d8186f4df61.zip
-rw-r--r--src/core/file_sys/partition_filesystem.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/file_sys/partition_filesystem.cpp b/src/core/file_sys/partition_filesystem.cpp
index 521e21078..47e032b19 100644
--- a/src/core/file_sys/partition_filesystem.cpp
+++ b/src/core/file_sys/partition_filesystem.cpp
@@ -97,9 +97,8 @@ void PartitionFilesystem::PrintDebugInfo() const {
LOG_DEBUG(Service_FS, "Magic: {:.4}", pfs_header.magic);
LOG_DEBUG(Service_FS, "Files: {}", pfs_header.num_entries);
for (u32 i = 0; i < pfs_header.num_entries; i++) {
- LOG_DEBUG(Service_FS, " > File {}: {} (0x{:X} bytes, at 0x{:X})", i,
- pfs_files[i]->GetName(), pfs_files[i]->GetSize(),
- dynamic_cast<OffsetVfsFile*>(pfs_files[i].get())->GetOffset());
+ LOG_DEBUG(Service_FS, " > File {}: {} (0x{:X} bytes)", i,
+ pfs_files[i]->GetName(), pfs_files[i]->GetSize());
}
}