diff --git a/Core/HLE/sceAtrac.cpp b/Core/HLE/sceAtrac.cpp index 6b442be805..aacc12a8eb 100644 --- a/Core/HLE/sceAtrac.cpp +++ b/Core/HLE/sceAtrac.cpp @@ -234,6 +234,7 @@ const HLEFunction sceAtrac3plus[] = {0xeca32a99,0,"sceAtracIsSecondBufferNeeded"}, {0x0fae370e,sceAtracSetHalfwayBufferAndGetID,"sceAtracSetHalfwayBufferAndGetID"}, {0x2DD3E298,0,"sceAtrac3plus_2DD3E298"}, + {0x5CF9D852,0,"sceAtracSetMOutHalfwayBuffer"}, }; diff --git a/Core/HLE/sceFont.cpp b/Core/HLE/sceFont.cpp index d2caefb3ad..5c7f3595c4 100644 --- a/Core/HLE/sceFont.cpp +++ b/Core/HLE/sceFont.cpp @@ -331,7 +331,10 @@ int sceFontGetFontList(u32 fontLibHandle, u32 fontStylePtr, u32 numFonts) style.fontVRes = 20 / 64.f; style.fontStyle = 1; - Memory::WriteStruct(fontStylePtr, &style); + for (u32 i = 0; i < numFonts; i++) + { + Memory::WriteStruct(fontStylePtr+ (sizeof(style)), &style); + } return 0; }