mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-18 07:39:08 +00:00
NEVERHOOD: Fix bug #3615124 - "NEVERHOOD: Music from Credits continues to play"
This commit is contained in:
parent
1a40387d0d
commit
20e5bf1017
@ -405,6 +405,7 @@ CreditsScene::CreditsScene(NeverhoodEngine *vm, Module *parentModule, bool canAb
|
||||
|
||||
_ticksTime = _vm->_system->getMillis() + 202100;
|
||||
|
||||
_vm->toggleSoundUpdate(true);
|
||||
_musicResource = new MusicResource(_vm);
|
||||
_musicResource->load(0x30812225);
|
||||
_musicResource->play(0);
|
||||
@ -414,6 +415,7 @@ CreditsScene::CreditsScene(NeverhoodEngine *vm, Module *parentModule, bool canAb
|
||||
CreditsScene::~CreditsScene() {
|
||||
_musicResource->unload();
|
||||
delete _musicResource;
|
||||
_vm->toggleSoundUpdate(false);
|
||||
}
|
||||
|
||||
void CreditsScene::update() {
|
||||
|
Loading…
Reference in New Issue
Block a user