Fix (I hope) for problems with MISEGACD sound assertion
|Reported by:||SF/lord_nightmare||Owned by:||SF/khalek|
|Game:||Monkey Island 1|
I didn't account for the fact that sounds can be demangled multiple times in the SegaCD Monkey Island, causing them to trigger the assertion immediately below the new demangling code. This patch SHOULD fix it, I HOPE. It may not be the CORRECT way to do this (Fingolfin suggested allocating a seperate buffer for the demangled sounds instead of demangling them in place, and I think all the sounds should be demangled on game load rather than the first time they're played) but it should work.
Ticket imported from: #959129. Ticket imported from: patches/448.