Jukka Heinonen wrote:
The second patch is because Wine mmsystem16 header does not use
correct packing which results into 48 byte structure taking
52 bytes and overwriting a pointer. This makes Civilization 2
quite unhappy. Took almost a day to debug the game and
find out that the bugger who messes the pointer is really
waveOutGetDevCaps16...
Yessss! Thanks for finding this bug! It would have taken me ages to find
it. Finale was choking awfully after calling midiInGetDevCaps. It would
go into an endless loop, trashing my hard-drive and forcing me to do a
hard reset on my box. Your patch fixes the problem.
Cheers!
Josh Thielen