diff options
| author | 2018-07-19 20:46:11 -0700 | |
|---|---|---|
| committer | 2018-07-19 20:46:11 -0700 | |
| commit | ce66a188d0b7e2467942be2e0ac24ca05feb7f41 (patch) | |
| tree | 42fd43a9fa305d81058b023b9ba348eabe21a05d /src | |
| parent | Merge pull request #726 from lioncash/overload (diff) | |
| parent | pl_u: Simplify WriteBuffer() calls in GetSharedFontInOrderOfPriority() (diff) | |
| download | yuzu-ce66a188d0b7e2467942be2e0ac24ca05feb7f41.tar.gz yuzu-ce66a188d0b7e2467942be2e0ac24ca05feb7f41.tar.xz yuzu-ce66a188d0b7e2467942be2e0ac24ca05feb7f41.zip | |
Merge pull request #729 from lioncash/simplify
pl_u: Simplify WriteBuffer() calls in GetSharedFontInOrderOfPriority()
Diffstat (limited to '')
| -rw-r--r-- | src/core/hle/service/ns/pl_u.cpp | 6 |
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) { | |||
| 132 | font_sizes.push_back(SHARED_FONT_REGIONS[i].size); | 132 | font_sizes.push_back(SHARED_FONT_REGIONS[i].size); |
| 133 | } | 133 | } |
| 134 | 134 | ||
| 135 | ctx.WriteBuffer(font_codes.data(), font_codes.size() * sizeof(u32), 0); | 135 | ctx.WriteBuffer(font_codes, 0); |
| 136 | ctx.WriteBuffer(font_offsets.data(), font_offsets.size() * sizeof(u32), 1); | 136 | ctx.WriteBuffer(font_offsets, 1); |
| 137 | ctx.WriteBuffer(font_sizes.data(), font_sizes.size() * sizeof(u32), 2); | 137 | ctx.WriteBuffer(font_sizes, 2); |
| 138 | 138 | ||
| 139 | rb.Push(RESULT_SUCCESS); | 139 | rb.Push(RESULT_SUCCESS); |
| 140 | rb.Push<u8>(static_cast<u8>(LoadState::Done)); // Fonts Loaded | 140 | rb.Push<u8>(static_cast<u8>(LoadState::Done)); // Fonts Loaded |