Am Montag 10 Juli 2006 10:47 schrieb Stefan Dösinger: > Here is a patch with the improvement suggestions from AJ. The changes to > the older versions are: > > * Use the counter from InterlockedDecrement to check if the object has to > be destroyed > * Get rid of IDirectDrawImpl::DoNotDestroy > * Minor spelling fixes in the added comments :-) > > The aim of this is to fix the startup Star Wars Episode 1 racer and most > likely Star Wars Jedi Knight 1(Not tested, I do not have this game), and > fix the shutdown of C&C Red Alert. The 2 star wars games depend on the > individual refcounts of the interface versions, while Red Alert depends on > the different palette refcounting behavior in older interface versions. > > This patch also requires the palette refcounting fix for older interfaces > which I will resend too. > > ChangeLog: > Stefan Dösinger: Split up the ddraw refcount Grrr. Got to send another updated patch :-(
I accidentally renamed Thunk_IDirect3D_3_Release to Thunk_IDirect3D_1_Release, so the older patch didn't even compile. I wonder how I could run the regression tests and my games with it. The attached patch corrects this wrong numer.
0005-DDraw-Split-the-ddraw-refcount.txt.bz2
Description: BZip2 compressed data
pgp5NjjQKmKSW.pgp
Description: PGP signature