aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruruk2014-07-22 18:59:22 +0200
committeruruk2014-07-22 18:59:22 +0200
commitaa6b4601d766f775e97c1b38332948a2a6a2c3e0 (patch)
treed3957307b7377888d473a6482505f458fe701555
parentdef6b4fc3e38392c8345af9945cb3a1d208a7726 (diff)
downloadscummvm-rg350-aa6b4601d766f775e97c1b38332948a2a6a2c3e0.tar.gz
scummvm-rg350-aa6b4601d766f775e97c1b38332948a2a6a2c3e0.tar.bz2
scummvm-rg350-aa6b4601d766f775e97c1b38332948a2a6a2c3e0.zip
CGE2: Change call order of checkSoundHandle().
-rw-r--r--engines/cge2/cge2_main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/cge2/cge2_main.cpp b/engines/cge2/cge2_main.cpp
index f8fa274bc8..353abb8391 100644
--- a/engines/cge2/cge2_main.cpp
+++ b/engines/cge2/cge2_main.cpp
@@ -539,6 +539,8 @@ void CGE2Engine::showBak(int ref) {
}
void CGE2Engine::mainLoop() {
+ _sound->checkSoundHandle();
+
_vga->show();
_commandHandlerTurbo->runCommand();
_commandHandler->runCommand();
@@ -551,8 +553,6 @@ void CGE2Engine::mainLoop() {
// Check shouldQuit()
_quitFlag = shouldQuit();
-
- _sound->checkSoundHandle();
}
void CGE2Engine::handleFrame() {