tweak old xp workaround
This commit is contained in:
parent
29aea235eb
commit
e315fa9fc3
1 changed files with 3 additions and 0 deletions
|
@ -1660,6 +1660,9 @@ HRESULT WINAPI DirectDrawCreate(GUID FAR* lpGUID, LPDIRECTDRAW FAR* lplpDD, IUnk
|
||||||
{
|
{
|
||||||
This->DirectDrawCreate =
|
This->DirectDrawCreate =
|
||||||
(HRESULT(WINAPI *)(GUID FAR*, LPDIRECTDRAW FAR*, IUnknown FAR*))GetProcAddress(This->real_dll, "DirectDrawCreate");
|
(HRESULT(WINAPI *)(GUID FAR*, LPDIRECTDRAW FAR*, IUnknown FAR*))GetProcAddress(This->real_dll, "DirectDrawCreate");
|
||||||
|
|
||||||
|
if (This->DirectDrawCreate == DirectDrawCreate)
|
||||||
|
This->DirectDrawCreate = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
InitializeCriticalSection(&This->cs);
|
InitializeCriticalSection(&This->cs);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue