aboutsummaryrefslogtreecommitdiff
path: root/backends/morphos
diff options
context:
space:
mode:
authorMax Horn2003-05-29 22:34:35 +0000
committerMax Horn2003-05-29 22:34:35 +0000
commite08d4f072e0939e97b3e6b7e1b2dd7cbaf51d939 (patch)
tree7cfaf7553bc2f0bb3a7f0ac092cf85a287288879 /backends/morphos
parent54b8fd8ce1488c82a8e123586dfce9000e3ba6c7 (diff)
downloadscummvm-rg350-e08d4f072e0939e97b3e6b7e1b2dd7cbaf51d939.tar.gz
scummvm-rg350-e08d4f072e0939e97b3e6b7e1b2dd7cbaf51d939.tar.bz2
scummvm-rg350-e08d4f072e0939e97b3e6b7e1b2dd7cbaf51d939.zip
more OSystem docs & cleanup
svn-id: r8118
Diffstat (limited to 'backends/morphos')
-rw-r--r--backends/morphos/morphos.cpp2
-rw-r--r--backends/morphos/morphos.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/backends/morphos/morphos.cpp b/backends/morphos/morphos.cpp
index 34dde38f3f..2c9674101d 100644
--- a/backends/morphos/morphos.cpp
+++ b/backends/morphos/morphos.cpp
@@ -1404,7 +1404,7 @@ void OSystem_MorphOS::set_mouse_cursor(const byte *buf, uint w, uint h, int hots
UndrawMouse();
}
-bool OSystem_MorphOS::set_sound_proc(void *param, OSystem::SoundProc *proc, byte format)
+bool OSystem_MorphOS::set_sound_proc(OSystem::SoundProc *proc, void *param, OSystem::SoundFormat format)
{
SoundProc = proc;
SoundParam = param;
diff --git a/backends/morphos/morphos.h b/backends/morphos/morphos.h
index 6327edd647..2fed3dae28 100644
--- a/backends/morphos/morphos.h
+++ b/backends/morphos/morphos.h
@@ -99,7 +99,7 @@ class OSystem_MorphOS : public OSystem
virtual void warp_mouse(int x, int y);
// Set the function to be invoked whenever samples need to be generated
- virtual bool set_sound_proc(void *param, SoundProc *proc, byte format);
+ virtual bool set_sound_proc(SoundProc *proc, void *param, SoundFormat format);
void fill_sound (byte * stream, int len);
virtual uint32 property(int param, Property *value);