MCPcopy Create free account
hub / github.com/RPCSX/rpcsx / get_guest_system_time

Function get_guest_system_time

kernel/cellos/src/sys_time.cpp:260–264  ·  view source on GitHub ↗

As get_system_time but obeys Clocks scaling setting

Source from the content-addressed store, hash-verified

258
259// As get_system_time but obeys Clocks scaling setting
260u64 get_guest_system_time(u64 time) {
261 const u64 result =
262 (time != umax ? time : get_system_time()) * g_cfg.core.clocks_scale / 100;
263 return result - systemtime_offset;
264}
265
266// Functions
267error_code sys_time_set_timezone(s32 timezone, s32 summertime) {

Callers 15

cellAudioPortOpenFunction · 0.85
operator()Method · 0.85
cellMsgDialogCloseFunction · 0.85
cellCameraStartFunction · 0.85
cellCameraReadExFunction · 0.85
operator()Method · 0.85
sys_time_get_system_timeFunction · 0.85
sys_lwmutex_lockFunction · 0.85
cellHddGameGetSizeKBFunction · 0.85
cellGameDataGetSizeKBFunction · 0.85
cellGameContentPermitFunction · 0.85

Calls 1

get_system_timeFunction · 0.85

Tested by

no test coverage detected