mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-07 03:26:18 +02:00
Merge pull request #303 from unknownbrackets/font-fix
Fix fake sceFontGetCharGlyphImage() overflowing
This commit is contained in:
commit
5d34aad219
1 file changed
+1
-1
@@ -316,7 +316,7 @@ int sceFontGetCharGlyphImage(u32 libHandler, u32 charCode, u32 glyphImagePtr)
|
||||
int bytesPerLine = Memory::Read_U16(glyphImagePtr+16);
|
||||
int buffer =Memory::Read_U32(glyphImagePtr+20);
|
||||
|
||||
Memory::Memset(buffer, 0x7F, bytesPerLine*bufHeight*pixelFormat);
|
||||
Memory::Memset(buffer, 0x7F, bytesPerLine * bufHeight);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user