mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-23 04:33:09 +00:00
EMI: Update _curMusicState also when state 0 is requested.
This commit is contained in:
parent
358e840817
commit
f733939a38
@ -240,8 +240,10 @@ void EMISound::setMusicState(int stateId) {
|
||||
_musicChannel = -1;
|
||||
fadeMusicIn = true;
|
||||
}
|
||||
if (stateId == 0)
|
||||
if (stateId == 0) {
|
||||
_curMusicState = 0;
|
||||
return;
|
||||
}
|
||||
if (_musicTable == nullptr) {
|
||||
Debug::debug(Debug::Sound, "No music table loaded");
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user