Fix divide by zero exception

This commit is contained in:
igor725 2024-04-12 12:18:01 +03:00
parent 857ecc4cfb
commit 55f5656daa
No known key found for this signature in database
GPG Key ID: 46F13BBE46F8569D

View File

@ -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;
}
}
}