From c863da278f673a8325c8c86c0d0e51d9831a6269 Mon Sep 17 00:00:00 2001 From: scribam Date: Wed, 5 Apr 2017 21:25:28 +0200 Subject: [PATCH] Add cellRtc functions --- rpcs3/Emu/Cell/Modules/cellRtc.cpp | 49 ++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/rpcs3/Emu/Cell/Modules/cellRtc.cpp b/rpcs3/Emu/Cell/Modules/cellRtc.cpp index e0d51456b1..5edc1d7972 100644 --- a/rpcs3/Emu/Cell/Modules/cellRtc.cpp +++ b/rpcs3/Emu/Cell/Modules/cellRtc.cpp @@ -252,6 +252,48 @@ s32 cellRtcCompareTick(vm::ptr pTick0, vm::ptr 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); });