diff --git a/Core/HLE/HLETables.cpp b/Core/HLE/HLETables.cpp index bc5fabbc0..6beff72a7 100644 --- a/Core/HLE/HLETables.cpp +++ b/Core/HLE/HLETables.cpp @@ -329,6 +329,6 @@ void RegisterAllModules() { Register_sceDisplay_driver(); Register_sceMpegbase(); Register_sceUsbGps(); - + Register_sceLibFttt(); } diff --git a/Core/HLE/sceFont.cpp b/Core/HLE/sceFont.cpp index b6b15d02e..bb3684339 100644 --- a/Core/HLE/sceFont.cpp +++ b/Core/HLE/sceFont.cpp @@ -1391,7 +1391,41 @@ const HLEFunction sceLibFont[] = { {0x02d7f94b, WrapI_U, "sceFontFlush"}, }; +const HLEFunction sceLibFttt[] = { + {0x67f17ed7, WrapU_UU, "sceFontNewLib"}, + {0x574b6fbc, WrapI_U, "sceFontDoneLib"}, + {0x48293280, WrapI_UFF, "sceFontSetResolution"}, + {0x27f6e642, WrapI_UU, "sceFontGetNumFontList"}, + {0xbc75d85b, WrapI_UUI, "sceFontGetFontList"}, + {0x099ef33c, WrapI_UUU, "sceFontFindOptimumFont"}, + {0x681e61a7, WrapI_UUU, "sceFontFindFont"}, + {0x2f67356a, WrapI_V, "sceFontCalcMemorySize"}, + {0x5333322d, WrapI_UUU, "sceFontGetFontInfoByIndexNumber"}, + {0xa834319d, WrapU_UUUU, "sceFontOpen"}, + {0x57fcb733, WrapU_UCUU, "sceFontOpenUserFile"}, + {0xbb8e7fe6, WrapU_UUUU, "sceFontOpenUserMemory"}, + {0x3aea8cb6, WrapI_U, "sceFontClose"}, + {0x0da7535e, WrapI_UU, "sceFontGetFontInfo"}, + {0xdcc80c2f, WrapI_UUU, "sceFontGetCharInfo" }, + {0xaa3de7b5, WrapI_UUU, "sceFontGetShadowInfo"}, + {0x5c3e4a9e, WrapI_UUU, "sceFontGetCharImageRect"}, + {0x48b06520, WrapI_UUU, "sceFontGetShadowImageRect"}, + {0x980f4895, WrapI_UUU, "sceFontGetCharGlyphImage"}, + {0xca1e6945, WrapI_UUUIIII, "sceFontGetCharGlyphImage_Clip"}, + {0x74b21701, WrapF_IFU, "sceFontPixelToPointH"}, + {0xf8f0752e, WrapF_IFU, "sceFontPixelToPointV"}, + {0x472694cd, WrapF_IFU, "sceFontPointToPixelH"}, + {0x3c4b7e82, WrapF_IFU, "sceFontPointToPixelV"}, + {0xee232411, WrapI_UU, "sceFontSetAltCharacterCode"}, + {0x568be516, WrapI_UUU, "sceFontGetShadowGlyphImage"}, + {0x5dcf6858, WrapI_UUUIIII, "sceFontGetShadowGlyphImage_Clip"}, + {0x02d7f94b, WrapI_U, "sceFontFlush"}, +}; + void Register_sceFont() { RegisterModule("sceLibFont", ARRAY_SIZE(sceLibFont), sceLibFont); } +void Register_sceLibFttt() { + RegisterModule("sceLibFttt", ARRAY_SIZE(sceLibFttt), sceLibFttt); +} diff --git a/Core/HLE/sceFont.h b/Core/HLE/sceFont.h index 5b0765ead..929102980 100644 --- a/Core/HLE/sceFont.h +++ b/Core/HLE/sceFont.h @@ -3,6 +3,7 @@ class PointerWrap; void Register_sceFont(); +void Register_sceLibFttt(); void __FontInit(); void __FontShutdown();