http://bugs.winehq.org/show_bug.cgi?id=28982
Jari Vetoniemi mailRoxas@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #37636|0 |1 is obsolete| |
--- Comment #20 from Jari Vetoniemi mailRoxas@gmail.com 2011-12-06 14:04:01 CST --- Created attachment 37834 --> http://bugs.winehq.org/attachment.cgi?id=37834 New patch
Ok, this patch should be bit better.
But anyways, I'm going to clear up things here a bit. First of all, I have no idea why setting lBufOffset on MMIOM_SEEK causes the program not crash. I've reversed the DLL that handles the BGM music in game, but did not found anything useful, and wine output isn't particular helpful either.
Second, to make the BGM loop, the file must be seek back when file read function returns EOF. There is still that "looping" issue, but I'm pretty sure it's issue somewhere else, maybe not even in wine.
The earlier test I wrote, should at least success with this on both windows and linux, but yeah. More work is still needed, like finding what is the real reason for the crash and how to write test for that.