2014-07-12 09:46:14 +02:00
|
|
|
#include "stdafx.h"
|
2015-07-29 16:40:34 +02:00
|
|
|
#include "Emu/System.h"
|
2016-03-21 20:43:03 +01:00
|
|
|
#include "Emu/Cell/PPUModule.h"
|
2013-09-28 04:36:57 +02:00
|
|
|
|
2017-04-06 23:13:48 +02:00
|
|
|
#include "cellBgdl.h"
|
2013-09-28 04:36:57 +02:00
|
|
|
|
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");
|
2013-09-28 04:36:57 +02:00
|
|
|
|
2017-04-06 23:13:48 +02:00
|
|
|
s32 cellBGDLGetInfo(vm::cptr<char> content_id, vm::ptr<CellBGDLInfo> info, s32 num)
|
2013-09-28 04:36:57 +02:00
|
|
|
{
|
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;
|
2013-09-28 04:36:57 +02:00
|
|
|
}
|
|
|
|
|
|
2017-04-06 23:13:48 +02:00
|
|
|
s32 cellBGDLGetInfo2(vm::cptr<char> service_id, vm::ptr<CellBGDLInfo> info, s32 num)
|
2013-09-28 04:36:57 +02:00
|
|
|
{
|
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;
|
2013-09-28 04:36:57 +02:00
|
|
|
}
|
|
|
|
|
|
2017-04-06 23:13:48 +02:00
|
|
|
s32 cellBGDLSetMode(CellBGDLMode mode)
|
2013-09-28 04:36:57 +02:00
|
|
|
{
|
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;
|
2013-09-28 04:36:57 +02:00
|
|
|
}
|
|
|
|
|
|
2017-04-06 23:13:48 +02:00
|
|
|
s32 cellBGDLGetMode(vm::ptr<CellBGDLMode> mode)
|
2013-09-28 04:36:57 +02:00
|
|
|
{
|
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;
|
2013-09-28 04:36:57 +02:00
|
|
|
}
|
|
|
|
|
|
2016-03-21 20:43:03 +01:00
|
|
|
DECLARE(ppu_module_manager::cellBGDL)("cellBGDLUtility", []()
|
2013-09-28 04:36:57 +02:00
|
|
|
{
|
2016-03-21 20:43:03 +01:00
|
|
|
REG_FUNC(cellBGDLUtility, cellBGDLGetInfo);
|
|
|
|
|
REG_FUNC(cellBGDLUtility, cellBGDLGetInfo2);
|
|
|
|
|
REG_FUNC(cellBGDLUtility, cellBGDLSetMode);
|
|
|
|
|
REG_FUNC(cellBGDLUtility, cellBGDLGetMode);
|
2015-07-29 16:40:34 +02:00
|
|
|
});
|