mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-19 21:52:45 +00:00
Fix results of sceFontGetFontInfo() for user fonts.
This commit is contained in:
parent
131cbc073c
commit
0e39b6fe36
@ -218,6 +218,7 @@ public:
|
||||
private:
|
||||
void Init(const u8 *data, size_t dataSize) {
|
||||
valid_ = pgf_.ReadPtr(data, dataSize);
|
||||
memset(&style_, 0, sizeof(style_));
|
||||
style_.fontH = (float)pgf_.header.hSize / 64.0f;
|
||||
style_.fontV = (float)pgf_.header.vSize / 64.0f;
|
||||
style_.fontHRes = (float)pgf_.header.hResolution / 64.0f;
|
||||
|
Loading…
x
Reference in New Issue
Block a user