mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-06 07:12:14 +01:00
35 lines
925 B
C++
35 lines
925 B
C++
#include "stdafx.h"
|
|
#include "Emu/Cell/PPUModule.h"
|
|
|
|
#include "cellFontFT.h"
|
|
|
|
logs::channel cellFontFT("cellFontFT", logs::level::notice);
|
|
|
|
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);
|
|
|
|
lib->set(vm::alloc(sizeof(CellFontLibrary), vm::main));
|
|
|
|
return CELL_OK;
|
|
}
|
|
|
|
s32 cellFontFTGetRevisionFlags()
|
|
{
|
|
UNIMPLEMENTED_FUNC(cellFontFT);
|
|
return CELL_OK;
|
|
}
|
|
|
|
s32 cellFontFTGetInitializedRevisionFlags()
|
|
{
|
|
UNIMPLEMENTED_FUNC(cellFontFT);
|
|
return CELL_OK;
|
|
}
|
|
|
|
DECLARE(ppu_module_manager::cellFontFT)("cellFontFT", []()
|
|
{
|
|
REG_FUNC(cellFontFT, cellFontInitLibraryFreeTypeWithRevision);
|
|
REG_FUNC(cellFontFT, cellFontFTGetRevisionFlags);
|
|
REG_FUNC(cellFontFT, cellFontFTGetInitializedRevisionFlags);
|
|
});
|