aboutsummaryrefslogtreecommitdiff
path: root/backends/PalmOS
diff options
context:
space:
mode:
authorChris Apers2003-05-01 11:41:19 +0000
committerChris Apers2003-05-01 11:41:19 +0000
commit09abe32284e38ffc35c56c5f15d8c827abb31877 (patch)
tree8a9857edebe18f5ad694ac85706875f952f86b71 /backends/PalmOS
parentd2a402f5fd5a6c603a53fda87572ecf0ce1e8a17 (diff)
downloadscummvm-rg350-09abe32284e38ffc35c56c5f15d8c827abb31877.tar.gz
scummvm-rg350-09abe32284e38ffc35c56c5f15d8c827abb31877.tar.bz2
scummvm-rg350-09abe32284e38ffc35c56c5f15d8c827abb31877.zip
Reactivate sound handler to prevent out of memory
svn-id: r7243
Diffstat (limited to 'backends/PalmOS')
-rw-r--r--backends/PalmOS/Src/palm.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/backends/PalmOS/Src/palm.cpp b/backends/PalmOS/Src/palm.cpp
index c2fe4c7f12..4d791569f3 100644
--- a/backends/PalmOS/Src/palm.cpp
+++ b/backends/PalmOS/Src/palm.cpp
@@ -527,8 +527,8 @@ bool OSystem_PALMOS::poll_event(Event *event) {
_thread.proc(_thread.param);
// sound handler
-// if(_sound.active)
-// check_sound();
+ if(_sound.active)
+ check_sound();
// if (_msg.state != 0)
// drawMessage();
@@ -1154,7 +1154,6 @@ bool OSystem_PALMOS::set_sound_proc(void *param, SoundProc *proc, byte format) {
_sound = false;*/
// Pa1Lib_Open();
-return false;
_sound.active = true;
_sound.proc = proc;