mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2024-12-29 11:06:07 +00:00
removed some debug code
This commit is contained in:
parent
bba76cdf49
commit
c80df0aab9
|
@ -1,8 +1,8 @@
|
|||
#include "event_queues.h"
|
||||
|
||||
#include <Core/PS4/HLE/ErrorCodes.h>
|
||||
#include <Core/PS4/HLE/Libs.h>
|
||||
#include <Util/log.h>
|
||||
#include <Core/PS4/HLE/ErrorCodes.h>
|
||||
|
||||
namespace HLE::Libs::LibKernel::EventQueues {
|
||||
constexpr bool log_file_equeues = true; // disable it to disable logging
|
||||
|
@ -22,7 +22,7 @@ int PS4_SYSV_ABI sceKernelCreateEqueue(SceKernelEqueue* eq, const char* name) {
|
|||
LOG_TRACE_IF(log_file_equeues, "sceKernelCreateEqueue returned SCE_KERNEL_ERROR_EINVAL name is null\n");
|
||||
return SCE_KERNEL_ERROR_EINVAL;
|
||||
}
|
||||
int s = sizeof(char);
|
||||
|
||||
if (strlen(name) > 31) { // max is 32 including null terminator
|
||||
LOG_TRACE_IF(log_file_equeues, "sceKernelCreateEqueue returned SCE_KERNEL_ERROR_ENAMETOOLONG name size exceeds 32 bytes\n");
|
||||
return SCE_KERNEL_ERROR_ENAMETOOLONG;
|
||||
|
|
Loading…
Reference in a new issue