aboutsummaryrefslogtreecommitdiff
path: root/backends/PalmOS
diff options
context:
space:
mode:
authorChris Apers2006-02-11 09:03:08 +0000
committerChris Apers2006-02-11 09:03:08 +0000
commit0ae5c6fe60fa5af9a843853f4eec70c2f9df530b (patch)
tree7d8a11a71b4ca9f0a98c324bc16c6878e8eda40e /backends/PalmOS
parentc4cb3d607a9d56753fb525cf4c55f3b2b747b59f (diff)
downloadscummvm-rg350-0ae5c6fe60fa5af9a843853f4eec70c2f9df530b.tar.gz
scummvm-rg350-0ae5c6fe60fa5af9a843853f4eec70c2f9df530b.tar.bz2
scummvm-rg350-0ae5c6fe60fa5af9a843853f4eec70c2f9df530b.zip
Disable this timer code for now, since it seems to make things unstable and hang with MIDI drivers (NULL, native)
svn-id: r20498
Diffstat (limited to 'backends/PalmOS')
-rwxr-xr-xbackends/PalmOS/Src/be_os5ex.cpp10
-rwxr-xr-xbackends/PalmOS/Src/be_os5ex.h11
2 files changed, 13 insertions, 8 deletions
diff --git a/backends/PalmOS/Src/be_os5ex.cpp b/backends/PalmOS/Src/be_os5ex.cpp
index 605d7cab8a..f6f95ac06e 100755
--- a/backends/PalmOS/Src/be_os5ex.cpp
+++ b/backends/PalmOS/Src/be_os5ex.cpp
@@ -17,7 +17,8 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
- * $Header$
+ * $URL$
+ * $Id$
*
*/
@@ -37,7 +38,7 @@ OSystem_PalmOS5Ex::OSystem_PalmOS5Ex() : OSystem_PalmOS5() {
_timerEx.timer = &_timer;
_timerEx.ticks = SysTicksPerSecond();
}
-
+/*
static SYSTEM_CALLBACK void timer_handler(void *userDataP) {
CALLBACK_PROLOGUE
TimerExPtr _timerEx = (TimerExPtr)userDataP;
@@ -72,7 +73,7 @@ void OSystem_PalmOS5Ex::setTimerCallback(TimerProc callback, int timer) {
if (!_timer.active)
_timerEx.timerID = 0;
}
-
+*/
OSystem::MutexRef OSystem_PalmOS5Ex::createMutex() {
UInt32 mutexID;
Err e = KALMutexCreate(&mutexID, appFileCreator);
@@ -94,8 +95,9 @@ void OSystem_PalmOS5Ex::deleteMutex(MutexRef mutex) {
if (mutex)
KALMutexDelete((UInt32)mutex);
}
-
+/*
void OSystem_PalmOS5Ex::int_quit() {
if (_timerEx.timerID)
KALTimerDelete(_timerEx.timerID);
}
+*/ \ No newline at end of file
diff --git a/backends/PalmOS/Src/be_os5ex.h b/backends/PalmOS/Src/be_os5ex.h
index fe2199ffb0..fb4027ccce 100755
--- a/backends/PalmOS/Src/be_os5ex.h
+++ b/backends/PalmOS/Src/be_os5ex.h
@@ -17,7 +17,8 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
- * $Header$
+ * $URL$
+ * $Id$
*
*/
@@ -26,6 +27,8 @@
#include "be_os5.h"
+#undef dprintf // fix compilation in Zodiac mode
+
#ifndef PALMOS_ARM
// Not usable with 68k mode (?), so ...
#define OSystem_PalmOS5Ex OSystem_PalmOS5
@@ -42,9 +45,9 @@ typedef struct {
class OSystem_PalmOS5Ex : public OSystem_PalmOS5 {
private:
- void timer_handler() {};
+// void timer_handler() {};
void sound_handler() {};
- void int_quit();
+// void int_quit();
SndStreamVariableBufferCallback sound_callback();
@@ -52,7 +55,7 @@ public:
OSystem_PalmOS5Ex();
static OSystem *create();
- void setTimerCallback(TimerProc callback, int interval);
+// void setTimerCallback(TimerProc callback, int interval);
MutexRef createMutex();
void lockMutex(MutexRef mutex);