From e764385d51304f9a04542d930b34a464f9e10fa8 Mon Sep 17 00:00:00 2001 From: devilismyfriend <87043616+devilismyfriend@users.noreply.github.com> Date: Sun, 27 Sep 2026 11:26:58 -0700 Subject: [PATCH] fix(libkernel): drop the scePthreadOnce stub that shadowed the implementation The merge brought a NotImplemented scePthreadOnce_nid_postfix next to the existing scePthreadOnce. The NID patcher gives the NID to the postfixed symbol, so the stub replaced the working export and the title aborted at its first once-initialisation. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_0177gthrWEBBfBu5xJDXgBfo --- core/libs/prx/libkernel/Pthread/Posix/Once.cpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/core/libs/prx/libkernel/Pthread/Posix/Once.cpp b/core/libs/prx/libkernel/Pthread/Posix/Once.cpp index 8702a17a0..32ed2ee79 100644 --- a/core/libs/prx/libkernel/Pthread/Posix/Once.cpp +++ b/core/libs/prx/libkernel/Pthread/Posix/Once.cpp @@ -42,16 +42,3 @@ extern "C" int APS5_VABI pthread_once_nid_postfix( onceChanged.notify_all(); return 0; } - -using OnceRoutine = void (APS5_VABI *)(); - -extern "C" { - -int APS5_VABI scePthreadOnce_nid_postfix(void* onceControl, OnceRoutine initRoutine) { - (void)onceControl; - (void)initRoutine; - NotImplemented_nid_no_patch(__func__); - return 0; -} - -}