mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 17:53:42 +01:00
Add sceAtracSetMOutHalfwayBuffer definitiion
PLus clean up the font code a tiny bit
This commit is contained in:
1 parent
d409334250
commit
154d3aaf6a
2 files changed
+5
-1
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user