mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 12:39:56 +00:00
don't restart music if the same track is already playing
svn-id: r8528
This commit is contained in:
parent
3764908eb3
commit
61491fb295
@ -148,7 +148,8 @@ void SkyMusicBase::pollMusic(void)
|
||||
uint8 newTempo;
|
||||
if (_onNextPoll.doReInit) startDriver();
|
||||
if (_onNextPoll.doStopMusic) stopMusic();
|
||||
if (_onNextPoll.musicToProcess) loadNewMusic();
|
||||
if (_onNextPoll.musicToProcess == _currentMusic) _onNextPoll.musicToProcess = 0;
|
||||
if (_onNextPoll.musicToProcess) loadNewMusic();
|
||||
|
||||
_aktTime += _tempo;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user