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

42 lines
1 KiB
C++
Raw Normal View History

2014-07-12 09:46:14 +02: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"
2017-05-15 13:58:32 +02:00
namespace vm { using namespace ps3; }
2017-05-13 20:30:37 +02:00
logs::channel cellBGDL("cellBGDL");
2017-04-06 23:13:48 +02:00
s32 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);
return 0;
}
2017-04-06 23:13:48 +02:00
s32 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);
return 0;
}
2017-04-06 23:13:48 +02:00
s32 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;
}
2017-04-06 23:13:48 +02:00
s32 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);
});