1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-25 20:22:30 +01:00

Add cellRtc functions

This commit is contained in:
scribam 2017-04-05 21:25:28 +02:00 committed by Ivan
parent 22e679e23e
commit c863da278f

View File

@ -252,6 +252,48 @@ s32 cellRtcCompareTick(vm::ptr<CellRtcTick> pTick0, vm::ptr<CellRtcTick> pTick1)
return CELL_OK;
}
s32 cellRtcGetCurrentSecureTick()
{
UNIMPLEMENTED_FUNC(cellRtc);
return CELL_OK;
}
s32 cellRtcGetTickResolution()
{
UNIMPLEMENTED_FUNC(cellRtc);
return CELL_OK;
}
s32 cellRtcGetSystemTime()
{
UNIMPLEMENTED_FUNC(cellRtc);
return CELL_OK;
}
s32 cellRtcSetConf()
{
UNIMPLEMENTED_FUNC(cellRtc);
return CELL_OK;
}
s32 cellRtcSetCurrentSecureTick()
{
UNIMPLEMENTED_FUNC(cellRtc);
return CELL_OK;
}
s32 cellRtcSetCurrentTick()
{
UNIMPLEMENTED_FUNC(cellRtc);
return CELL_OK;
}
s32 cellRtcSetSystemTime()
{
UNIMPLEMENTED_FUNC(cellRtc);
return CELL_OK;
}
DECLARE(ppu_module_manager::cellRtc)("cellRtc", []()
{
REG_FUNC(cellRtc, cellRtcGetCurrentTick);
@ -292,4 +334,11 @@ DECLARE(ppu_module_manager::cellRtc)("cellRtc", []()
REG_FUNC(cellRtc, cellRtcCheckValid);
REG_FUNC(cellRtc, cellRtcCompareTick);
REG_FUNC(cellRtc, cellRtcGetCurrentSecureTick);
REG_FUNC(cellRtc, cellRtcGetTickResolution);
REG_FUNC(cellRtc, cellRtcGetSystemTime);
REG_FUNC(cellRtc, cellRtcSetConf);
REG_FUNC(cellRtc, cellRtcSetCurrentSecureTick);
REG_FUNC(cellRtc, cellRtcSetCurrentTick);
REG_FUNC(cellRtc, cellRtcSetSystemTime);
});