aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/events.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2018-12-08 11:37:37 -0800
committerPaul Gilbert2018-12-08 19:05:59 -0800
commit0cbd51641b0bc1b205f90324399eca6b08a75c32 (patch)
treedd0a8f90993b7e3eb3332d07a3302d7f7db79cb7 /engines/glk/events.cpp
parent3661fc61ec319752a767e5981581ded026a57dd1 (diff)
downloadscummvm-rg350-0cbd51641b0bc1b205f90324399eca6b08a75c32.tar.gz
scummvm-rg350-0cbd51641b0bc1b205f90324399eca6b08a75c32.tar.bz2
scummvm-rg350-0cbd51641b0bc1b205f90324399eca6b08a75c32.zip
GLK: FROTZ: Further sound handling
Diffstat (limited to 'engines/glk/events.cpp')
-rw-r--r--engines/glk/events.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/glk/events.cpp b/engines/glk/events.cpp
index 8f3d5ef190..e6f046ca25 100644
--- a/engines/glk/events.cpp
+++ b/engines/glk/events.cpp
@@ -25,6 +25,7 @@
#include "glk/glk.h"
#include "glk/screen.h"
#include "glk/selection.h"
+#include "glk/sound.h"
#include "glk/windows.h"
#include "graphics/cursorman.h"
@@ -107,7 +108,9 @@ void Events::checkForNextFrameCounter() {
g_vm->_windows->redraw();
_redraw = false;
g_vm->_screen->update();
- return;
+
+ // Poll for any finished sounds
+ g_vm->_sounds->poll();
}
}