diff options
| author | Chris Apers | 2007-05-01 10:13:33 +0000 | 
|---|---|---|
| committer | Chris Apers | 2007-05-01 10:13:33 +0000 | 
| commit | f86dfd183e10056422a8f5234237edffb05fc43d (patch) | |
| tree | 76facf06cd4feee514d2cbbfe6eaba9d349774a1 /backends/platform | |
| parent | 4624769069de808ef0aa561d53700c1bf5c7279e (diff) | |
| download | scummvm-rg350-f86dfd183e10056422a8f5234237edffb05fc43d.tar.gz scummvm-rg350-f86dfd183e10056422a8f5234237edffb05fc43d.tar.bz2 scummvm-rg350-f86dfd183e10056422a8f5234237edffb05fc43d.zip | |
Enable true timer code
svn-id: r26700
Diffstat (limited to 'backends/platform')
| -rw-r--r-- | backends/platform/PalmOS/Src/be_os5ex.cpp | 7 | ||||
| -rw-r--r-- | backends/platform/PalmOS/Src/be_os5ex.h | 6 | 
2 files changed, 6 insertions, 7 deletions
| diff --git a/backends/platform/PalmOS/Src/be_os5ex.cpp b/backends/platform/PalmOS/Src/be_os5ex.cpp index f6f95ac06e..c498568ab3 100644 --- a/backends/platform/PalmOS/Src/be_os5ex.cpp +++ b/backends/platform/PalmOS/Src/be_os5ex.cpp @@ -38,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; @@ -73,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); @@ -95,9 +95,8 @@ 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/platform/PalmOS/Src/be_os5ex.h b/backends/platform/PalmOS/Src/be_os5ex.h index b8a8cbe61a..7d8cf4b607 100644 --- a/backends/platform/PalmOS/Src/be_os5ex.h +++ b/backends/platform/PalmOS/Src/be_os5ex.h @@ -45,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(); @@ -55,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); | 
