mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-07 07:25:26 +00:00
split rpcs3 and hle libraries
merge rpcs3 utilities
This commit is contained in:
parent
b33e2662b6
commit
62ad27d1e2
1233 changed files with 7004 additions and 3819 deletions
38
ps3fw/cellBgdl.cpp
Normal file
38
ps3fw/cellBgdl.cpp
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
#include "stdafx.h"
|
||||
#include "Emu/Cell/PPUModule.h"
|
||||
|
||||
#include "cellBgdl.h"
|
||||
|
||||
LOG_CHANNEL(cellBGDL);
|
||||
|
||||
error_code cellBGDLGetInfo(vm::cptr<char> content_id, vm::ptr<CellBGDLInfo> info, s32 num)
|
||||
{
|
||||
cellBGDL.todo("cellBGDLGetInfo(content_id=%s, info=*0x%x, num=%d)", content_id, info, num);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
error_code cellBGDLGetInfo2(vm::cptr<char> service_id, vm::ptr<CellBGDLInfo> info, s32 num)
|
||||
{
|
||||
cellBGDL.todo("cellBGDLGetInfo2(service_id=%s, info=*0x%x, num=%d)", service_id, info, num);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
error_code cellBGDLSetMode(CellBGDLMode mode)
|
||||
{
|
||||
cellBGDL.todo("cellBGDLSetMode(mode=%d)", +mode);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
error_code cellBGDLGetMode(vm::ptr<CellBGDLMode> mode)
|
||||
{
|
||||
cellBGDL.todo("cellBGDLGetMode(mode=*0x%x)", mode);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
DECLARE(ppu_module_manager::cellBGDL)("cellBGDLUtility", []()
|
||||
{
|
||||
REG_FUNC(cellBGDLUtility, cellBGDLGetInfo);
|
||||
REG_FUNC(cellBGDLUtility, cellBGDLGetInfo2);
|
||||
REG_FUNC(cellBGDLUtility, cellBGDLSetMode);
|
||||
REG_FUNC(cellBGDLUtility, cellBGDLGetMode);
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue