summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/ns/pl_u.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-12-08 04:00:34 +0100
committerLioncash <mathew1800@gmail.com>2020-12-08 05:02:23 +0100
commit6b7320add44bf3d933063d0b93296222fd522ef6 (patch)
tree06cb434947232a7105e955a8237285a15ac5556b /src/core/hle/service/ns/pl_u.cpp
parentMerge pull request #5164 from lioncash/contains (diff)
downloadyuzu-6b7320add44bf3d933063d0b93296222fd522ef6.tar
yuzu-6b7320add44bf3d933063d0b93296222fd522ef6.tar.gz
yuzu-6b7320add44bf3d933063d0b93296222fd522ef6.tar.bz2
yuzu-6b7320add44bf3d933063d0b93296222fd522ef6.tar.lz
yuzu-6b7320add44bf3d933063d0b93296222fd522ef6.tar.xz
yuzu-6b7320add44bf3d933063d0b93296222fd522ef6.tar.zst
yuzu-6b7320add44bf3d933063d0b93296222fd522ef6.zip
Diffstat (limited to 'src/core/hle/service/ns/pl_u.cpp')
-rw-r--r--src/core/hle/service/ns/pl_u.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/core/hle/service/ns/pl_u.cpp b/src/core/hle/service/ns/pl_u.cpp
index ccc137e40..c8a215845 100644
--- a/src/core/hle/service/ns/pl_u.cpp
+++ b/src/core/hle/service/ns/pl_u.cpp
@@ -182,21 +182,18 @@ PL_U::PL_U(Core::System& system_)
}
if (!romfs) {
- LOG_ERROR(Service_NS, "Failed to find or synthesize {:016X}! Skipping",
- static_cast<u64>(font.first));
+ LOG_ERROR(Service_NS, "Failed to find or synthesize {:016X}! Skipping", font.first);
continue;
}
const auto extracted_romfs = FileSys::ExtractRomFS(romfs);
if (!extracted_romfs) {
- LOG_ERROR(Service_NS, "Failed to extract RomFS for {:016X}! Skipping",
- static_cast<u64>(font.first));
+ LOG_ERROR(Service_NS, "Failed to extract RomFS for {:016X}! Skipping", font.first);
continue;
}
const auto font_fp = extracted_romfs->GetFile(font.second);
if (!font_fp) {
- LOG_ERROR(Service_NS, "{:016X} has no file \"{}\"! Skipping",
- static_cast<u64>(font.first), font.second);
+ LOG_ERROR(Service_NS, "{:016X} has no file \"{}\"! Skipping", font.first, font.second);
continue;
}
std::vector<u32> font_data_u32(font_fp->GetSize() / sizeof(u32));