diff options
Diffstat (limited to 'backends/morphos')
-rw-r--r-- | backends/morphos/morphos.cpp | 2 | ||||
-rw-r--r-- | backends/morphos/morphos.h | 2 |
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); |