mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-22 01:57:16 +00:00
some backend fixes
svn-id: r8812
This commit is contained in:
parent
36bf6e09d3
commit
9875983336
@ -562,7 +562,7 @@ void OSystem_PALMOS::set_timer(int timer, int (*callback)(int))
|
||||
}
|
||||
|
||||
/* Mutex handling */
|
||||
MutexRef OSystem_PALMOS::create_mutex()
|
||||
OSystem::MutexRef OSystem_PALMOS::create_mutex()
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
@ -316,7 +316,7 @@ void OSystem_MorphOS::create_thread(ThreadProc *proc, void *param)
|
||||
NP_PPC_Arg1, (ULONG) param, TAG_DONE);
|
||||
}
|
||||
|
||||
MutexRef OSystem_MorphOS::create_mutex()
|
||||
OSystem::MutexRef OSystem_MorphOS::create_mutex()
|
||||
{
|
||||
SignalSemaphore *sem = (SignalSemaphore *) AllocVec(sizeof (SignalSemaphore), MEMF_PUBLIC);
|
||||
|
||||
|
@ -1744,18 +1744,18 @@ void OSystem_WINCE3::update_cdrom() {;}
|
||||
//void ScummDebugger::attach(Scumm *s) {;}
|
||||
|
||||
/* Mutex stuff */
|
||||
MutexRefOSystem_WINCE3::create_mutex() {
|
||||
OSystem::MutexRef OSystem_WINCE3::create_mutex() {
|
||||
return (MutexRef)CreateMutex(NULL, FALSE, NULL);
|
||||
}
|
||||
void OSystem_WINCE3::lock_mutex(MutexRefhandle) {
|
||||
void OSystem_WINCE3::lock_mutex(MutexRef handle) {
|
||||
WaitForSingleObject((HANDLE)handle, INFINITE);
|
||||
}
|
||||
|
||||
void OSystem_WINCE3::unlock_mutex(MutexRefhandle) {
|
||||
void OSystem_WINCE3::unlock_mutex(MutexRef handle) {
|
||||
ReleaseMutex((HANDLE)handle);
|
||||
}
|
||||
|
||||
void OSystem_WINCE3::delete_mutex(MutexRefhandle) {
|
||||
void OSystem_WINCE3::delete_mutex(MutexRef handle) {
|
||||
CloseHandle((HANDLE)handle);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user