really fixed typo

This commit is contained in:
georgemoralis 2024-06-11 22:41:35 +03:00
parent 991d44bde6
commit 8612907831
1 changed files with 2 additions and 2 deletions

View File

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