From d27c3eee2468a2c13582b4cac37eb3f975949a9c Mon Sep 17 00:00:00 2001 From: scribam Date: Mon, 17 Apr 2017 18:11:55 +0200 Subject: [PATCH] Add FTFaceH_GetMaxVerticalAdvance function --- rpcs3/Emu/Cell/Modules/cellFontFT.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/rpcs3/Emu/Cell/Modules/cellFontFT.cpp b/rpcs3/Emu/Cell/Modules/cellFontFT.cpp index 345c3c7bb2..cb6aefe86f 100644 --- a/rpcs3/Emu/Cell/Modules/cellFontFT.cpp +++ b/rpcs3/Emu/Cell/Modules/cellFontFT.cpp @@ -122,6 +122,12 @@ s32 FTFaceH_GetMaxHorizontalAdvance() return CELL_OK; } +s32 FTFaceH_GetMaxVerticalAdvance() +{ + UNIMPLEMENTED_FUNC(cellFontFT); + return CELL_OK; +} + s32 FTFaceH_GetRenderBufferSize() { UNIMPLEMENTED_FUNC(cellFontFT); @@ -217,6 +223,7 @@ DECLARE(ppu_module_manager::cellFontFT)("cellFontFT", []() REG_FUNC(cellFontFT, FTFaceH_GetGlyphImage); REG_FUNC(cellFontFT, FTFaceH_GetGlyphMetrics); REG_FUNC(cellFontFT, FTFaceH_GetMaxHorizontalAdvance); + REG_FUNC(cellFontFT, FTFaceH_GetMaxVerticalAdvance); REG_FUNC(cellFontFT, FTFaceH_GetRenderBufferSize); REG_FUNC(cellFontFT, FTFaceH_GetRenderScale); REG_FUNC(cellFontFT, FTFaceH_GetRenderScalePoint);