rpcsx/ps3fw/cellBgdl.cpp

39 lines
1,018 B
C++
Raw Normal View History

2020-12-05 13:08:24 +01:00
#include "stdafx.h"
2016-03-21 20:43:03 +01:00
#include "Emu/Cell/PPUModule.h"
2017-04-06 23:13:48 +02:00
#include "cellBgdl.h"
LOG_CHANNEL(cellBGDL);
2019-11-16 23:30:19 +01:00
error_code cellBGDLGetInfo(vm::cptr<char> content_id, vm::ptr<CellBGDLInfo> info, s32 num)
{
2017-04-06 23:13:48 +02:00
cellBGDL.todo("cellBGDLGetInfo(content_id=%s, info=*0x%x, num=%d)", content_id, info, num);
2019-11-16 23:30:19 +01:00
return CELL_OK;
}
2019-11-16 23:30:19 +01:00
error_code cellBGDLGetInfo2(vm::cptr<char> service_id, vm::ptr<CellBGDLInfo> info, s32 num)
{
2017-04-06 23:13:48 +02:00
cellBGDL.todo("cellBGDLGetInfo2(service_id=%s, info=*0x%x, num=%d)", service_id, info, num);
2019-11-16 23:30:19 +01:00
return CELL_OK;
}
2019-11-16 23:30:19 +01:00
error_code cellBGDLSetMode(CellBGDLMode mode)
{
2019-12-01 18:14:58 +01:00
cellBGDL.todo("cellBGDLSetMode(mode=%d)", +mode);
2017-05-15 13:58:32 +02:00
return CELL_OK;
}
2019-11-16 23:30:19 +01:00
error_code cellBGDLGetMode(vm::ptr<CellBGDLMode> mode)
{
2017-04-06 23:13:48 +02:00
cellBGDL.todo("cellBGDLGetMode(mode=*0x%x)", mode);
2017-05-15 13:58:32 +02:00
return CELL_OK;
}
2016-03-21 20:43:03 +01:00
DECLARE(ppu_module_manager::cellBGDL)("cellBGDLUtility", []()
{
REG_FUNC(cellBGDLUtility, cellBGDLGetInfo);
REG_FUNC(cellBGDLUtility, cellBGDLGetInfo2);
REG_FUNC(cellBGDLUtility, cellBGDLSetMode);
REG_FUNC(cellBGDLUtility, cellBGDLGetMode);
});