replace unreachable with default return in sceKernelClockGettime

This commit is contained in:
georgemoralis 2024-07-12 15:19:41 +03:00
parent 4de9d9cf0d
commit b07bbecab4
1 changed files with 2 additions and 1 deletions

View File

@ -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{};