mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-31 00:22:31 +00:00
(GX) Fix long lasting bug that prevented PCE CD and SEGA CD games to run on Wii.
This commit is contained in:
parent
31bcb3d6f8
commit
5b17cbcb2a
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user