From b07bbecab4f9cacc8566c04a376296c0018aa93d Mon Sep 17 00:00:00 2001 From: georgemoralis Date: Fri, 12 Jul 2024 15:19:41 +0300 Subject: [PATCH] replace unreachable with default return in sceKernelClockGettime --- src/core/libraries/kernel/time_management.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/libraries/kernel/time_management.cpp b/src/core/libraries/kernel/time_management.cpp index fbbcfdcf..d0c0a1e4 100644 --- a/src/core/libraries/kernel/time_management.cpp +++ b/src/core/libraries/kernel/time_management.cpp @@ -97,7 +97,8 @@ int PS4_SYSV_ABI sceKernelClockGettime(s32 clock_id, OrbisKernelTimespec* tp) { pclock_id = CLOCK_MONOTONIC; break; default: - UNREACHABLE(); + LOG_ERROR(Lib_Kernel, "unsupported = {} using CLOCK_REALTIME", clock_id); + break; } timespec t{};