Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix DSound's Multi-thread Issue #1654
The changes contain three things, relocate the lock to inside the patch function as the first thing it get used. And replaced Windows' critical section function to
With these changes, Soldier of Fortune II no longer crash on boot often or the need to slow down the emulation process.
I have tested at least 6 titles to ensure regression had not occurred.