Merge pull request #3270 from netux79/master
(GX) Fix long lasting bug that prevented PCE CD and SEGA CD games to …
This commit is contained in:
commit
9f4c7c6f82
|
@ -60,12 +60,6 @@
|
||||||
#define OSInitCond(cond) LWP_CondInit(cond)
|
#define OSInitCond(cond) LWP_CondInit(cond)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if 0
|
|
||||||
#ifndef OSSignalCond
|
|
||||||
#define OSSignalCond(cond) LWP_ThreadSignal(cond)
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef OSWaitCond
|
#ifndef OSWaitCond
|
||||||
#define OSWaitCond(cond, mutex) LWP_CondWait(cond, mutex)
|
#define OSWaitCond(cond, mutex) LWP_CondWait(cond, mutex)
|
||||||
#endif
|
#endif
|
||||||
|
@ -82,10 +76,6 @@
|
||||||
#define OSJoinThread(thread, val) LWP_JoinThread(thread, val)
|
#define OSJoinThread(thread, val) LWP_JoinThread(thread, val)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef OSSignalCond
|
|
||||||
#define OSSignalCond(thread) LWP_CondSignal(thread)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef OSCreateThread
|
#ifndef OSCreateThread
|
||||||
#define OSCreateThread(thread, func, intarg, ptrarg, stackbase, stacksize, priority, attrs) LWP_CreateThread(thread, func, ptrarg, stackbase, stacksize, priority)
|
#define OSCreateThread(thread, func, intarg, ptrarg, stackbase, stacksize, priority, attrs) LWP_CreateThread(thread, func, ptrarg, stackbase, stacksize, priority)
|
||||||
#endif
|
#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)
|
static INLINE int pthread_cond_signal(pthread_cond_t *cond)
|
||||||
{
|
{
|
||||||
OSSignalCond(*cond);
|
return LWP_CondSignal(*cond);
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static INLINE int pthread_cond_broadcast(pthread_cond_t *cond)
|
static INLINE int pthread_cond_broadcast(pthread_cond_t *cond)
|
||||||
|
|
Loading…
Reference in New Issue