really fixed typo

This commit is contained in:
georgemoralis 2024-06-11 22:41:35 +03:00
parent 81e4000432
commit 53fc8dec8c

View file

@ -47,8 +47,8 @@ u64 PS4_SYSV_ABI sceKernelReadTsc() {
}
int PS4_SYSV_ABI sceKernelUsleep(u32 microseconds) {
if (microseconds < 1000u) {
#ifdef _WIN64
if (microseconds < 1000u) {
LARGE_INTEGER interval{
.QuadPart = -1 * (microseconds * 10u),
};
@ -57,7 +57,7 @@ int PS4_SYSV_ABI sceKernelUsleep(u32 microseconds) {
std::this_thread::sleep_for(std::chrono::microseconds(microseconds));
}
#else
usleep(microseconds);
usleep(microseconds);
#endif
return 0;
}