Add sceAtracSetMOutHalfwayBuffer definitiion

PLus clean up the font code a tiny bit
This commit is contained in:
TMaul 2012-12-22 12:25:03 +00:00
parent d409334250
commit 154d3aaf6a
2 changed files with 5 additions and 1 deletions

View file

@ -234,6 +234,7 @@ const HLEFunction sceAtrac3plus[] =
{0xeca32a99,0,"sceAtracIsSecondBufferNeeded"},
{0x0fae370e,sceAtracSetHalfwayBufferAndGetID,"sceAtracSetHalfwayBufferAndGetID"},
{0x2DD3E298,0,"sceAtrac3plus_2DD3E298"},
{0x5CF9D852,0,"sceAtracSetMOutHalfwayBuffer"},
};

View file

@ -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;
}