[Bug 17410] game 'will rock' not started

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Aug 26 13:39:42 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=17410


Louis Lenders <xerox_xerox2000 at yahoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |download
             Status|UNCONFIRMED                 |NEW
                 CC|                            |xerox_xerox2000 at yahoo.co.uk
          Component|-unknown                    |directx-ddraw
     Ever Confirmed|0                           |1
           Severity|enhancement                 |normal




--- Comment #4 from Louis Lenders <xerox_xerox2000 at yahoo.co.uk>  2009-08-26 13:39:41 ---
confirming. Looks the culprit from a debuglog is 

0009:Ret  ddraw.DirectDrawEnumerateExA() retval=80070057 ret=004b5781

0x80070057 = E_INVALIDARG


With the hack below i got the game runninging:


diff --git a/dlls/ddraw/main.c b/dlls/ddraw/main.c
index 6908a62..40b11f8 100644
--- a/dlls/ddraw/main.c
+++ b/dlls/ddraw/main.c
@@ -417,7 +417,7 @@ DirectDrawEnumerateExA(LPDDENUMCALLBACKEXA Callback,
     }
     __EXCEPT_PAGE_FAULT
     {
-        return E_INVALIDARG;
+        return DD_OK;//E_INVALIDARG;
     }
     __ENDTRY;

Note, apparently the display driver name is read and written to a profile-file
willrock.ini , aftyer running the game once it now reads:
VIDEO_Drv=DirectDraw HAL (display); Wine D3D7 RGB

Before running it it was different.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list