From 3320156a27dd7d92e1cfa25e5104d15c417f0908 Mon Sep 17 00:00:00 2001 From: georgemoralis Date: Thu, 30 May 2024 20:16:16 +0300 Subject: [PATCH] fixed a case in sceKernelCreateEventFlag (found in Super Meat boy) --- src/core/libraries/kernel/event_flag/event_flag.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/libraries/kernel/event_flag/event_flag.cpp b/src/core/libraries/kernel/event_flag/event_flag.cpp index 659d3cd7..0ca95768 100644 --- a/src/core/libraries/kernel/event_flag/event_flag.cpp +++ b/src/core/libraries/kernel/event_flag/event_flag.cpp @@ -48,6 +48,8 @@ int PS4_SYSV_ABI sceKernelCreateEventFlag(OrbisKernelEventFlag* ef, const char* case 0x20: thread_mode = EventFlagInternal::ThreadMode::Multi; break; + case 0x00: + break; default: UNREACHABLE(); }