mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-28 22:06:59 +01:00
remove logging in hot path
This commit is contained in:
@@ -271,9 +271,6 @@ int KYTY_SYSV_ABI KernelCreateSema(KernelSema* sem, const char* name, uint32_t a
|
|||||||
|
|
||||||
*sem = new KernelSemaPrivate(std::string(name), fifo, init, max);
|
*sem = new KernelSemaPrivate(std::string(name), fifo, init, max);
|
||||||
|
|
||||||
LOGF("\t Semaphore create: %s, ptr=0x%016" PRIx64 ", init=%d, max=%d\n", name,
|
|
||||||
reinterpret_cast<uint64_t>(*sem), init, max);
|
|
||||||
|
|
||||||
return OK;
|
return OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -316,8 +313,6 @@ int KYTY_SYSV_ABI KernelPollSema(KernelSema sem, int need) {
|
|||||||
return KERNEL_ERROR_ESRCH;
|
return KERNEL_ERROR_ESRCH;
|
||||||
}
|
}
|
||||||
|
|
||||||
LOGF("\t Semaphore poll: %s, %d\n", sem->GetName().c_str(), need);
|
|
||||||
|
|
||||||
auto result = sem->Poll(need);
|
auto result = sem->Poll(need);
|
||||||
|
|
||||||
int ret = OK;
|
int ret = OK;
|
||||||
|
|||||||
Reference in New Issue
Block a user