From 5b17cbcb2a5be344926833b99a59a69496d1a7ea Mon Sep 17 00:00:00 2001 From: Ernesto Ramirez Date: Mon, 25 Jul 2016 20:27:08 -0500 Subject: [PATCH] (GX) Fix long lasting bug that prevented PCE CD and SEGA CD games to run on Wii. --- libretro-common/rthreads/gx_pthread.h | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/libretro-common/rthreads/gx_pthread.h b/libretro-common/rthreads/gx_pthread.h index 230c5cbd10..b8f9d86944 100644 --- a/libretro-common/rthreads/gx_pthread.h +++ b/libretro-common/rthreads/gx_pthread.h @@ -60,12 +60,6 @@ #define OSInitCond(cond) LWP_CondInit(cond) #endif -#if 0 -#ifndef OSSignalCond -#define OSSignalCond(cond) LWP_ThreadSignal(cond) -#endif -#endif - #ifndef OSWaitCond #define OSWaitCond(cond, mutex) LWP_CondWait(cond, mutex) #endif @@ -82,10 +76,6 @@ #define OSJoinThread(thread, val) LWP_JoinThread(thread, val) #endif -#ifndef OSSignalCond -#define OSSignalCond(thread) LWP_CondSignal(thread) -#endif - #ifndef OSCreateThread #define OSCreateThread(thread, func, intarg, ptrarg, stackbase, stacksize, priority, attrs) LWP_CreateThread(thread, func, ptrarg, stackbase, stacksize, priority) #endif @@ -177,8 +167,7 @@ static INLINE int pthread_cond_init(pthread_cond_t *cond, static INLINE int pthread_cond_signal(pthread_cond_t *cond) { - OSSignalCond(*cond); - return 0; + return LWP_CondSignal(*cond); } static INLINE int pthread_cond_broadcast(pthread_cond_t *cond)