rpcsx/rpcs3/Emu/Cell/Modules/cellFontFT.cpp

35 lines
889 B
C++
Raw Normal View History

#include "stdafx.h"
2016-03-21 20:43:03 +01:00
#include "Emu/Cell/PPUModule.h"
2014-08-23 22:40:04 +02:00
#include "cellFontFT.h"
2016-03-21 20:43:03 +01:00
LOG_CHANNEL(cellFontFT);
2015-07-11 01:38:40 +02:00
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);
2015-07-11 22:44:53 +02:00
lib->set(vm::alloc(sizeof(CellFontLibrary), vm::main));
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 cellFontFTGetRevisionFlags()
{
UNIMPLEMENTED_FUNC(cellFontFT);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 cellFontFTGetInitializedRevisionFlags()
{
UNIMPLEMENTED_FUNC(cellFontFT);
return CELL_OK;
}
2016-03-21 20:43:03 +01:00
DECLARE(ppu_module_manager::cellFontFT)("cellFontFT", []()
{
REG_FUNC(cellFontFT, cellFontInitLibraryFreeTypeWithRevision);
REG_FUNC(cellFontFT, cellFontFTGetRevisionFlags);
REG_FUNC(cellFontFT, cellFontFTGetInitializedRevisionFlags);
});