Implement all IDirectDraw stubs, C&C now starts up on Wine
This commit is contained in:
parent
023794ae97
commit
e07abb7e18
5 changed files with 106 additions and 22 deletions
|
@ -70,10 +70,8 @@ fakeDirectDrawClipper ciface =
|
|||
null // ddraw_clipper_SetHwnd
|
||||
};
|
||||
|
||||
HRESULT ddraw_CreateClipper(void *_This, DWORD dwFlags, LPDIRECTDRAWCLIPPER FAR *lplpDDClipper, IUnknown FAR *pUnkOuter )
|
||||
HRESULT __stdcall ddraw_CreateClipper(IDirectDrawImpl *This, DWORD dwFlags, LPDIRECTDRAWCLIPPER FAR *lplpDDClipper, IUnknown FAR *pUnkOuter )
|
||||
{
|
||||
fakeDirectDrawClipperObject *This = (fakeDirectDrawClipperObject *)_This;
|
||||
|
||||
printf("DirectDraw::CreateClipper(This=%p, dwFlags=%d, DDClipper=%p, unkOuter=%p)\n", This, (int)dwFlags, lplpDDClipper, pUnkOuter);
|
||||
|
||||
fakeDirectDrawClipperObject *Clipper = (fakeDirectDrawClipperObject *)malloc(sizeof(fakeDirectDrawClipperObject));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue