rpcsx/rpcs3/Emu/Cell/Modules/cellFontFT.cpp
Nekotekina e2d82394f6 Cell
2016-05-23 16:22:23 +03:00

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);
});