Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hle: Add miscellaneous functions #5771

Merged
merged 3 commits into from Mar 30, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 7 additions & 0 deletions rpcs3/Emu/Cell/Modules/cellFontFT.cpp
Expand Up @@ -5,6 +5,12 @@

LOG_CHANNEL(cellFontFT);

s32 cellFontInitLibraryFreeType()
{
UNIMPLEMENTED_FUNC(cellFontFT);
return CELL_OK;
}

s32 cellFontInitLibraryFreeTypeWithRevision(u64 revisionFlags, vm::ptr<CellFontLibraryConfigFT> config, vm::pptr<CellFontLibrary> lib)
{
cellFontFT.warning("cellFontInitLibraryFreeTypeWithRevision(revisionFlags=0x%llx, config=*0x%x, lib=**0x%x)", revisionFlags, config, lib);
Expand Down Expand Up @@ -202,6 +208,7 @@ s32 FTManager_OpenStreamFace()

DECLARE(ppu_module_manager::cellFontFT)("cellFontFT", []()
{
REG_FUNC(cellFontFT, cellFontInitLibraryFreeType);
REG_FUNC(cellFontFT, cellFontInitLibraryFreeTypeWithRevision);
REG_FUNC(cellFontFT, cellFontFTGetRevisionFlags);
REG_FUNC(cellFontFT, cellFontFTGetInitializedRevisionFlags);
Expand Down
8 changes: 4 additions & 4 deletions rpcs3/Emu/Cell/Modules/cellSysmodule.cpp
Expand Up @@ -361,13 +361,13 @@ s32 cellSysmoduleFetchImage()
return CELL_OK;
}

s32 cellSysmodule_B498BF77()
s32 cellSysmoduleUnloadModuleInternal()
{
UNIMPLEMENTED_FUNC(cellSysmodule);
return CELL_OK;
}

s32 cellSysmodule_D9B8C0EE()
s32 cellSysmoduleLoadModuleInternal()
{
UNIMPLEMENTED_FUNC(cellSysmodule);
return CELL_OK;
Expand All @@ -389,7 +389,7 @@ DECLARE(ppu_module_manager::cellSysmodule)("cellSysmodule", []()
REG_FUNC(cellSysmodule, cellSysmoduleIsLoaded);
REG_FUNC(cellSysmodule, cellSysmoduleGetImagesize);
REG_FUNC(cellSysmodule, cellSysmoduleFetchImage);
REG_FNID(cellSysmodule, 0xB498BF77, cellSysmodule_B498BF77);
REG_FNID(cellSysmodule, 0xD9B8C0EE, cellSysmodule_D9B8C0EE);
REG_FUNC(cellSysmodule, cellSysmoduleUnloadModuleInternal);
REG_FUNC(cellSysmodule, cellSysmoduleLoadModuleInternal);
REG_FNID(cellSysmodule, 0x1A267F98, cellSysmodule_1A267F98);
});
7 changes: 7 additions & 0 deletions rpcs3/Emu/Cell/Modules/cell_FreeType2.cpp
Expand Up @@ -371,6 +371,12 @@ s32 FT_Get_TrueType_Engine_Type()
return CELL_OK;
}

s32 FT_Get_X11_Font_Format()
{
UNIMPLEMENTED_FUNC(cell_FreeType2);
return CELL_OK;
}

s32 FT_Get_WinFNT_Header()
{
UNIMPLEMENTED_FUNC(cell_FreeType2);
Expand Down Expand Up @@ -971,6 +977,7 @@ DECLARE(ppu_module_manager::cell_FreeType2)("cell_FreeType2", []()
REG_FUNC(cell_FreeType2, FT_Get_Track_Kerning);
REG_FUNC(cell_FreeType2, FT_Get_TrueType_Engine_Type);
REG_FUNC(cell_FreeType2, FT_Get_WinFNT_Header);
REG_FUNC(cell_FreeType2, FT_Get_X11_Font_Format);
REG_FUNC(cell_FreeType2, FT_Glyph_Copy);
REG_FUNC(cell_FreeType2, FT_Glyph_Get_CBox);
REG_FUNC(cell_FreeType2, FT_GlyphSlot_Own_Bitmap);
Expand Down