HLE: add even more error_code

This commit is contained in:
Megamouse 2019-11-16 23:30:19 +01:00
parent 9dab0575fa
commit ca59ab59e9
8 changed files with 381 additions and 77 deletions

View file

@ -1,4 +1,4 @@
#include "stdafx.h"
#include "stdafx.h"
#include "Emu/System.h"
#include "Emu/Cell/PPUModule.h"
@ -8,25 +8,25 @@
LOG_CHANNEL(cellBGDL);
s32 cellBGDLGetInfo(vm::cptr<char> content_id, vm::ptr<CellBGDLInfo> info, s32 num)
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 0;
return CELL_OK;
}
s32 cellBGDLGetInfo2(vm::cptr<char> service_id, vm::ptr<CellBGDLInfo> info, s32 num)
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 0;
return CELL_OK;
}
s32 cellBGDLSetMode(CellBGDLMode mode)
error_code cellBGDLSetMode(CellBGDLMode mode)
{
cellBGDL.todo("cellBGDLSetMode(mode=%d)", (s32) mode);
return CELL_OK;
}
s32 cellBGDLGetMode(vm::ptr<CellBGDLMode> mode)
error_code cellBGDLGetMode(vm::ptr<CellBGDLMode> mode)
{
cellBGDL.todo("cellBGDLGetMode(mode=*0x%x)", mode);
return CELL_OK;