mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-03-30 07:29:43 -06:00
fix divide by zero (#3759)
This commit is contained in:
parent
eda6be746f
commit
493cda07c0
@ -163,7 +163,7 @@ s32 PS4_SYSV_ABI posix_clock_gettime(u32 clock_id, OrbisKernelTimespec* ts) {
|
||||
case ORBIS_CLOCK_MONOTONIC_FAST: {
|
||||
static LARGE_INTEGER pf = [] {
|
||||
LARGE_INTEGER res{};
|
||||
QueryPerformanceFrequency(&pf);
|
||||
QueryPerformanceFrequency(&res);
|
||||
return res;
|
||||
}();
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user