aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/cycle.cpp
diff options
context:
space:
mode:
authorMartin Kiewitz2016-02-20 14:53:17 +0100
committerMartin Kiewitz2016-02-20 14:53:17 +0100
commit4ad1bbf108ac408be0ae7d53768d040fd9e32500 (patch)
tree9fbf20db70e98c88efeb19283f8ea24cd94f8848 /engines/agi/cycle.cpp
parent62546273ca7deaf03cb1cbad6d99cf34e81ed949 (diff)
downloadscummvm-rg350-4ad1bbf108ac408be0ae7d53768d040fd9e32500.tar.gz
scummvm-rg350-4ad1bbf108ac408be0ae7d53768d040fd9e32500.tar.bz2
scummvm-rg350-4ad1bbf108ac408be0ae7d53768d040fd9e32500.zip
AGI: Add detection for fan games with broken volume bug #7035
Plenty of fan games set volume to mute, because they thought 15 would be loudest. It's in fact "mute" in AGI. Those games were made primarily for PC AGI, which did not use the volume setting. We do, so such games would get muted audio. We try to detect such games. Hopefully fully fixes bug #7035. Too many games to try them all out.
Diffstat (limited to 'engines/agi/cycle.cpp')
-rw-r--r--engines/agi/cycle.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/agi/cycle.cpp b/engines/agi/cycle.cpp
index 8ccf69a2fc..211513ca36 100644
--- a/engines/agi/cycle.cpp
+++ b/engines/agi/cycle.cpp
@@ -153,9 +153,11 @@ void AgiEngine::interpretCycle() {
oldScore = getVar(VM_VAR_SCORE);
setFlag(VM_FLAG_ENTERED_CLI, false);
_game.exitAllLogics = false;
+ _veryFirstInitialCycle = false;
artificialDelay_CycleDone();
resetControllers();
}
+ _veryFirstInitialCycle = false;
artificialDelay_CycleDone();
resetControllers();