http://bugs.winehq.org/show_bug.cgi?id=34570
Bug #: 34570 Summary: Game crash because of improperly cloning MMIOINFO struct in MMIO_Open Product: Wine Version: 1.7.2 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winmm&mci AssignedTo: wine-bugs@winehq.org ReportedBy: jiashulu@gmail.com Classification: Unclassified
Created attachment 46023 --> http://bugs.winehq.org/attachment.cgi?id=46023 A quick fix
The game "Custom reido F" crashes on start.
The problem is that the whole adwInfo[] array in MMIOINFO struct is used by the game, but wine only clones adwInfo[0] in MMIO_Open. A quick fix is attached.
What is more, I checked MSDN: http://msdn.microsoft.com/en-us/library/windows/desktop/dd757322%28v=vs.85%2... and found that adwInfo[] array should have 4 elements instead of 3 in wine. This perhaps will cause problems in other programs. I am not sure which APIs are affected by this.