1
0
mirror of https://github.com/mpv-player/mpv synced 2025-04-25 12:50:18 +00:00

fixed WaitForMultipleObjects and FindFile

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8286 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2002-11-25 18:51:25 +00:00
parent 4c89b52ee4
commit af5f5e258f

View File

@ -829,7 +829,7 @@ static void* WINAPI expWaitForMultipleObjects(int count, const void** objects,
object = objects[i]; object = objects[i];
ret = expWaitForSingleObject(object, duration); ret = expWaitForSingleObject(object, duration);
if (WaitAll) if (WaitAll)
dprintf("suck...\n"); dbgprintf("WaitAll flag not yet supported...\n");
else else
return ret; return ret;
} }
@ -3397,8 +3397,12 @@ static HANDLE WINAPI expCreateFileA(LPCSTR cs1,DWORD i1,DWORD i2,
if(strstr(cs1, "QuickTimeEssentials.qtx")) if(strstr(cs1, "QuickTimeEssentials.qtx"))
{ {
int result; int result;
char* tmp="/root/.wine/fake_windows/Windows/System/QuickTime/QuickTimeEssentials.qtx"; char* tmp=(char*)malloc(strlen(def_path)+50);
strcpy(tmp, def_path);
strcat(tmp, "/");
strcat(tmp, "QuickTimeEssentials.qtx");
result=open(tmp, O_RDONLY); result=open(tmp, O_RDONLY);
free(tmp);
return result; return result;
} }
#endif #endif