mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-24 19:45:07 +00:00
52a1a6e60b
This could occur on other platforms too and was a race hazard between mixer thread startup and music being valid i.e. If the music doesn't already exist, when the mixer callback is done, this deletes the channel as idle. Reordered the calls to fix this. Also, removed unecessary music->start() as this is done by setMusic(n) on successful load anyway.