[Bug 13670] Star Blaze: Error preventing start of game

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Jun 4 09:33:13 CDT 2008


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


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |xerox_xerox2000 at yahoo.co.uk
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1




--- Comment #3 from Louis Lenders <xerox_xerox2000 at yahoo.co.uk>  2008-06-04 09:33:13 ---
Confirming. The game starts fine for me with the patch below, buit i haven't
got a clue if this patch would be correct ;)

diff --git a/dlls/d3d8/device.c b/dlls/d3d8/device.c
index cf864cc..a5ba5d2 100644
--- a/dlls/d3d8/device.c
+++ b/dlls/d3d8/device.c
@@ -1123,6 +1123,7 @@ static HRESULT WINAPI
IDirect3DDevice8Impl_ApplyStateBlock(LPDIRECT3DDEVICE8 ifa
     TRACE("(%p) %p Relay\n", This, pSB);

     EnterCriticalSection(&d3d8_cs);
+    if(Token)
     hr = IWineD3DStateBlock_Apply(pSB->wineD3DStateBlock);
     LeaveCriticalSection(&d3d8_cs);
     return hr;


-- 
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