mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Add sceAtracSetMOutHalfwayBuffer definitiion
PLus clean up the font code a tiny bit
This commit is contained in:
parent
d409334250
commit
154d3aaf6a
2 changed files with 5 additions and 1 deletions
|
@ -234,6 +234,7 @@ const HLEFunction sceAtrac3plus[] =
|
|||
{0xeca32a99,0,"sceAtracIsSecondBufferNeeded"},
|
||||
{0x0fae370e,sceAtracSetHalfwayBufferAndGetID,"sceAtracSetHalfwayBufferAndGetID"},
|
||||
{0x2DD3E298,0,"sceAtrac3plus_2DD3E298"},
|
||||
{0x5CF9D852,0,"sceAtracSetMOutHalfwayBuffer"},
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue