Fix fake sceFontGetCharGlyphImage() overflowing.

This commit is contained in:
Unknown W. Brackets 2012-12-31 21:46:41 -08:00
parent ca4c767d38
commit daa31bb02d

View File

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