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

42 lines
1 KiB
C++
Raw Normal View History

2019-11-16 23:30:19 +01:00
#include "stdafx.h"
#include "Emu/System.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"
2018-02-09 15:49:37 +01:00
2017-05-15 13:58:32 +02:00
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)
{
2017-04-06 23:13:48 +02:00
cellBGDL.todo("cellBGDLSetMode(mode=%d)", (s32) 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", []()
{
2016-03-21 20:43:03 +01:00
REG_FUNC(cellBGDLUtility, cellBGDLGetInfo);
REG_FUNC(cellBGDLUtility, cellBGDLGetInfo2);
REG_FUNC(cellBGDLUtility, cellBGDLSetMode);
REG_FUNC(cellBGDLUtility, cellBGDLGetMode);
});