mirror of
https://github.com/SysRay/psOff_public.git
synced 2024-11-23 06:19:41 +00:00
Fix divide by zero exception
This commit is contained in:
parent
857ecc4cfb
commit
55f5656daa
@ -163,9 +163,7 @@ EXPORT SYSV_ABI int sceRtcGetTick(const SceRtcDateTime* pTime, SceRtcTick* pTick
|
||||
}
|
||||
|
||||
EXPORT SYSV_ABI unsigned int sceRtcGetTickResolution(void) {
|
||||
LOG_USE_MODULE(libSceRtc);
|
||||
LOG_ERR(L"todo %S", __FUNCTION__);
|
||||
return Ok;
|
||||
return 1000000;
|
||||
}
|
||||
|
||||
EXPORT SYSV_ABI int sceRtcTickAddTicks(SceRtcTick* pTick0, const SceRtcTick* pTick1, int64_t lAdd) {
|
||||
@ -250,4 +248,4 @@ EXPORT SYSV_ABI int sceRtcParseRFC3339(SceRtcTick* pUtc, const char* pszDateTime
|
||||
LOG_ERR(L"todo %S", __FUNCTION__);
|
||||
return Ok;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user