diff options
| author | Max Horn | 2003-05-29 21:45:26 +0000 |
|---|---|---|
| committer | Max Horn | 2003-05-29 21:45:26 +0000 |
| commit | f0a9f4fb2c5203fbd97130a8198d7ef9e1ce713a (patch) | |
| tree | dfa2ea727d3c8e4e95329fde007a7402e65c0a25 /backends/PalmOS | |
| parent | 417ec3a58816cbfd6c880b84474581a8e07bc40e (diff) | |
| download | scummvm-rg350-f0a9f4fb2c5203fbd97130a8198d7ef9e1ce713a.tar.gz scummvm-rg350-f0a9f4fb2c5203fbd97130a8198d7ef9e1ce713a.tar.bz2 scummvm-rg350-f0a9f4fb2c5203fbd97130a8198d7ef9e1ce713a.zip | |
added some doxygen comments to common/system.h; cleaned up the OSystem interface a bit
svn-id: r8116
Diffstat (limited to 'backends/PalmOS')
| -rw-r--r-- | backends/PalmOS/Src/palm.cpp | 6 | ||||
| -rw-r--r-- | backends/PalmOS/Src/palm.h | 6 |
2 files changed, 5 insertions, 7 deletions
diff --git a/backends/PalmOS/Src/palm.cpp b/backends/PalmOS/Src/palm.cpp index d105c9c1de..6d46ce31de 100644 --- a/backends/PalmOS/Src/palm.cpp +++ b/backends/PalmOS/Src/palm.cpp @@ -515,12 +515,10 @@ void OSystem_PALMOS::delay_msecs(uint msecs) { SysTaskDelay((SysTicksPerSecond()*msecs)/1000); } -void *OSystem_PALMOS::create_thread(ThreadProc *proc, void *param) { +void OSystem_PALMOS::create_thread(ThreadProc *proc, void *param) { _thread.active = true; _thread.proc = proc; _thread.param = param; - - return 0; } void OSystem_PALMOS::set_timer(int timer, int (*callback)(int)) @@ -536,7 +534,7 @@ void OSystem_PALMOS::set_timer(int timer, int (*callback)(int)) } /* Mutex handling */ -void *OSystem_PALMOS::create_mutex(void) +void *OSystem_PALMOS::create_mutex() { return NULL; } diff --git a/backends/PalmOS/Src/palm.h b/backends/PalmOS/Src/palm.h index 18f846be15..fcfb2014a7 100644 --- a/backends/PalmOS/Src/palm.h +++ b/backends/PalmOS/Src/palm.h @@ -77,7 +77,7 @@ public: void delay_msecs(uint msecs); // Create a thread - void *create_thread(ThreadProc *proc, void *param); + void create_thread(ThreadProc *proc, void *param); // Get the next event. // Returns true if an event was retrieved. @@ -105,7 +105,7 @@ public: void set_timer(int timer, int (*callback)(int)); // Mutex handling - void *create_mutex(void); + void *create_mutex(); void lock_mutex(void *mutex); void unlock_mutex(void *mutex); void delete_mutex(void *mutex); @@ -140,7 +140,7 @@ protected: bool _overlay_visible; private: - typedef void (OSystem_PALMOS::*RendererProc)(void); + typedef void (OSystem_PALMOS::*RendererProc)(); RendererProc _renderer_proc; UInt8 *_sndDataP, *_sndTempP; |
