mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-24 13:13:58 +00:00

The check to see if background music should be started was implemented as part of the input processing. As a result, background music would not start if the game was not getting any input. F.e. on the main menu after starting the game, if you let the music play until it finishes without doing anything, the game will go silent. Only after moving the mouse will the background music track start. The original interpreter starts the background music without needing user input. I've fixed this by moving the check to start background music to the timer loop of the MusicPlayer. I've added a check to prevent background music from starting while the game is not accepting input.