http://bugs.winehq.org/show_bug.cgi?id=28982
--- Comment #5 from Jari Vetoniemi mailRoxas@gmail.com 2011-11-06 11:32:00 CST --- Created attachment 37341 --> http://bugs.winehq.org/attachment.cgi?id=37341 Add extra handling for unbuffered MMIO handles
Ok, here is a patch that solves all the problems. It fixes crashing, stuttering sound effect, and background music.
Normally the background music just stuttered when it finished, so I guess mmioRead returns the END of file and seeks to beginning of the file on unbuffered mmio.
Maybe it's just bad coding on the application's part, but yeah this works and I dint notice any bugs. It might break other applications thought? Needs more testing.