Fix GetSharedFontInOrderOfPriority

return fonts array size instead of loaded state
This commit is contained in:
Dima 2023-04-13 19:49:20 +03:00 committed by Billy Laws
parent 8c2b39858d
commit bdf73aa20d

View File

@ -59,7 +59,7 @@ namespace skyline::service::pl {
request.outputBuf.at(1).copy_from(fontOffsets); request.outputBuf.at(1).copy_from(fontOffsets);
request.outputBuf.at(2).copy_from(fontSizes); request.outputBuf.at(2).copy_from(fontSizes);
response.Push<u8>(1); // Fonts are loaded response.Push(static_cast<u32>(core.fonts.size()));
response.Push(static_cast<u32>(fontCodes.size())); response.Push(static_cast<u32>(fontCodes.size()));
return {}; return {};