From 46bd24b4b03e25341c42c965b61665fbff402ea1 Mon Sep 17 00:00:00 2001 From: Rob Loach Date: Tue, 28 Apr 2026 17:25:13 -0400 Subject: [PATCH] libretro: Minor mutex fix --- src/physfs_platform_libretro.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/physfs_platform_libretro.c b/src/physfs_platform_libretro.c index 4b63e2f8..5a14f0f1 100644 --- a/src/physfs_platform_libretro.c +++ b/src/physfs_platform_libretro.c @@ -208,7 +208,7 @@ void __PHYSFS_platformDestroyMutex(void *mutex) int __PHYSFS_platformGrabMutex(void *mutex) { #ifdef PHYSFS_PLATFORM_LIBRETRO_NO_THREADS - return 0; + return 1; /* Single-threaded, so we ignore this by returning success. */ #else PthreadMutex *m = (PthreadMutex *) mutex; uintptr_t tid = sthread_get_current_thread_id();