summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/ns
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-07-20 01:50:27 +0200
committerLioncash <mathew1800@gmail.com>2018-07-20 01:50:30 +0200
commit1bdb67440bd5fd427bb16a51066a2809da20f2c8 (patch)
tree42fd43a9fa305d81058b023b9ba348eabe21a05d /src/core/hle/service/ns
parentMerge pull request #726 from lioncash/overload (diff)
downloadyuzu-1bdb67440bd5fd427bb16a51066a2809da20f2c8.tar
yuzu-1bdb67440bd5fd427bb16a51066a2809da20f2c8.tar.gz
yuzu-1bdb67440bd5fd427bb16a51066a2809da20f2c8.tar.bz2
yuzu-1bdb67440bd5fd427bb16a51066a2809da20f2c8.tar.lz
yuzu-1bdb67440bd5fd427bb16a51066a2809da20f2c8.tar.xz
yuzu-1bdb67440bd5fd427bb16a51066a2809da20f2c8.tar.zst
yuzu-1bdb67440bd5fd427bb16a51066a2809da20f2c8.zip
Diffstat (limited to 'src/core/hle/service/ns')
-rw-r--r--src/core/hle/service/ns/pl_u.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/ns/pl_u.cpp b/src/core/hle/service/ns/pl_u.cpp
index d4e0f615a..691b1d106 100644
--- a/src/core/hle/service/ns/pl_u.cpp
+++ b/src/core/hle/service/ns/pl_u.cpp
@@ -132,9 +132,9 @@ void PL_U::GetSharedFontInOrderOfPriority(Kernel::HLERequestContext& ctx) {
font_sizes.push_back(SHARED_FONT_REGIONS[i].size);
}
- ctx.WriteBuffer(font_codes.data(), font_codes.size() * sizeof(u32), 0);
- ctx.WriteBuffer(font_offsets.data(), font_offsets.size() * sizeof(u32), 1);
- ctx.WriteBuffer(font_sizes.data(), font_sizes.size() * sizeof(u32), 2);
+ ctx.WriteBuffer(font_codes, 0);
+ ctx.WriteBuffer(font_offsets, 1);
+ ctx.WriteBuffer(font_sizes, 2);
rb.Push(RESULT_SUCCESS);
rb.Push<u8>(static_cast<u8>(LoadState::Done)); // Fonts Loaded