Update pl_u.cpp

This commit is contained in:
David
2018-04-29 18:55:16 -07:00
committed by GitHub
parent deadfaa108
commit 93441c5a83

View File

@@ -118,7 +118,7 @@ void PL_U::GetSharedMemoryNativeHandle(Kernel::HLERequestContext& ctx) {
void PL_U::GetSharedFontInOrderOfPriority(Kernel::HLERequestContext& ctx) {
IPC::RequestParser rp{ctx};
const u32 language_code{rp.Pop<u32>()};
const u32 language_code{rp.Pop<u32>()}; // TODO(ogniK): Check if language code or index
NGLOG_DEBUG(Service_NS, "called, language_code=%d", language_code);
IPC::ResponseBuilder rb{ctx, 4};
if (language_code > SHARED_FONT_REGIONS.size()) {