diff options
author | Max Horn | 2003-07-05 15:17:46 +0000 |
---|---|---|
committer | Max Horn | 2003-07-05 15:17:46 +0000 |
commit | 4611b12c0a84ec528f9f020dc85bf4e9a0108c82 (patch) | |
tree | 8a7f87ffbad997a6873a1a6e75d0d49746e9d69e /backends/dc | |
parent | 39abb7cf0a36f348c2755197e18ae2d9edc59eda (diff) | |
download | scummvm-rg350-4611b12c0a84ec528f9f020dc85bf4e9a0108c82.tar.gz scummvm-rg350-4611b12c0a84ec528f9f020dc85bf4e9a0108c82.tar.bz2 scummvm-rg350-4611b12c0a84ec528f9f020dc85bf4e9a0108c82.zip |
updated backends to use type MutexRef
svn-id: r8776
Diffstat (limited to 'backends/dc')
-rw-r--r-- | backends/dc/dc.h | 8 | ||||
-rw-r--r-- | backends/dc/dcmain.cpp | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/backends/dc/dc.h b/backends/dc/dc.h index 775c33b54f..8be53db2fd 100644 --- a/backends/dc/dc.h +++ b/backends/dc/dc.h @@ -85,10 +85,10 @@ class OSystem_Dreamcast : public OSystem { virtual void set_timer(int timer, int (*callback)(int)); // Mutex handling - virtual void *create_mutex(); - virtual void lock_mutex(void *mutex); - virtual void unlock_mutex(void *mutex); - virtual void delete_mutex(void *mutex); + virtual MutexRef create_mutex(); + virtual void lock_mutex(MutexRef mutex); + virtual void unlock_mutex(MutexRef mutex); + virtual void delete_mutex(MutexRef mutex); // Savefile handling virtual SaveFileManager *get_savefile_manager(); diff --git a/backends/dc/dcmain.cpp b/backends/dc/dcmain.cpp index 55c58c109d..49ffce2822 100644 --- a/backends/dc/dcmain.cpp +++ b/backends/dc/dcmain.cpp @@ -134,20 +134,20 @@ void OSystem_Dreamcast::create_thread(ThreadProc *proc, void *param) { /* Mutex handling */ -void *OSystem_Dreamcast::create_mutex() +MutexRef OSystem_Dreamcast::create_mutex() { return NULL; } -void OSystem_Dreamcast::lock_mutex(void *mutex) +void OSystem_Dreamcast::lock_mutex(MutexRef mutex) { } -void OSystem_Dreamcast::unlock_mutex(void *mutex) +void OSystem_Dreamcast::unlock_mutex(MutexRef mutex) { } -void OSystem_Dreamcast::delete_mutex(void *mutex) +void OSystem_Dreamcast::delete_mutex(MutexRef mutex) { } |