[Scummvm-git-logs] scummvm master -> eb44252d883a12442b4cff4ae753cfa206656256
AndywinXp
noreply at scummvm.org
Thu Sep 14 19:46:01 UTC 2023
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
eb44252d88 SCUMM: IMUSE: Fix quiet sound beginning after loading a heap save
Commit: eb44252d883a12442b4cff4ae753cfa206656256
https://github.com/scummvm/scummvm/commit/eb44252d883a12442b4cff4ae753cfa206656256
Author: AndywinXp (andywinxp at gmail.com)
Date: 2023-09-14T21:45:56+02:00
Commit Message:
SCUMM: IMUSE: Fix quiet sound beginning after loading a heap save
E.g. when exiting the lost dialogue of Plato screen in INDY4,
sound would dip down for a fraction of second. This is a result
of a workaround of our own, which should be disabled during
heap/temporary saves handling.
Changed paths:
engines/scumm/saveload.cpp
diff --git a/engines/scumm/saveload.cpp b/engines/scumm/saveload.cpp
index a7c4b553e7d..b1fe1f2f4f3 100644
--- a/engines/scumm/saveload.cpp
+++ b/engines/scumm/saveload.cpp
@@ -678,7 +678,7 @@ bool ScummEngine::loadState(int slot, bool compat, Common::String &filename) {
_saveLoadDescription = hdr.name;
// Set to 0 during load to minimize stuttering
- if (_musicEngine)
+ if (_musicEngine && !_saveTemporaryState)
_musicEngine->setMusicVolume(0);
// Unless specifically requested with _saveSound, we do not save the iMUSE
More information about the Scummvm-git-logs
mailing list