eventflag : changed an assert to log as error
This commit is contained in:
parent
24f78fac20
commit
90b27352f8
|
@ -54,8 +54,9 @@ int PS4_SYSV_ABI sceKernelCreateEventFlag(OrbisKernelEventFlag* ef, const char*
|
||||||
UNREACHABLE();
|
UNREACHABLE();
|
||||||
}
|
}
|
||||||
|
|
||||||
ASSERT_MSG(queue_mode == EventFlagInternal::QueueMode::Fifo,
|
if (queue_mode == EventFlagInternal::QueueMode::ThreadPrio) {
|
||||||
"ThreadPriority attr is not supported!");
|
LOG_ERROR(Kernel_Event, "ThreadPriority attr is not supported!");
|
||||||
|
}
|
||||||
|
|
||||||
*ef = new EventFlagInternal(std::string(pName), thread_mode, queue_mode, initPattern);
|
*ef = new EventFlagInternal(std::string(pName), thread_mode, queue_mode, initPattern);
|
||||||
return ORBIS_OK;
|
return ORBIS_OK;
|
||||||
|
|
Loading…
Reference in New Issue