From 90b27352f827f581349bfcf0ad668c94ee5c16b9 Mon Sep 17 00:00:00 2001 From: georgemoralis Date: Mon, 1 Jul 2024 00:51:38 +0300 Subject: [PATCH] eventflag : changed an assert to log as error --- src/core/libraries/kernel/event_flag/event_flag.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/core/libraries/kernel/event_flag/event_flag.cpp b/src/core/libraries/kernel/event_flag/event_flag.cpp index 96e158e5..8afd139c 100644 --- a/src/core/libraries/kernel/event_flag/event_flag.cpp +++ b/src/core/libraries/kernel/event_flag/event_flag.cpp @@ -54,8 +54,9 @@ int PS4_SYSV_ABI sceKernelCreateEventFlag(OrbisKernelEventFlag* ef, const char* UNREACHABLE(); } - ASSERT_MSG(queue_mode == EventFlagInternal::QueueMode::Fifo, - "ThreadPriority attr is not supported!"); + if (queue_mode == EventFlagInternal::QueueMode::ThreadPrio) { + LOG_ERROR(Kernel_Event, "ThreadPriority attr is not supported!"); + } *ef = new EventFlagInternal(std::string(pName), thread_mode, queue_mode, initPattern); return ORBIS_OK;