aboutsummaryrefslogtreecommitdiff
path: root/morphos/morphos.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'morphos/morphos.cpp')
-rw-r--r--morphos/morphos.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/morphos/morphos.cpp b/morphos/morphos.cpp
index 8887db05d2..10b8fbda12 100644
--- a/morphos/morphos.cpp
+++ b/morphos/morphos.cpp
@@ -1562,7 +1562,7 @@ void OSystem_MorphOS::set_mouse_cursor(const byte *buf, uint w, uint h, int hots
undraw_mouse();
}
-void OSystem_MorphOS::set_sound_proc( void *param, OSystem::SoundProc *proc, byte format )
+bool OSystem_MorphOS::set_sound_proc( void *param, OSystem::SoundProc *proc, byte format )
{
static EmulFunc MySoundEmulFunc;
@@ -1587,6 +1587,8 @@ void OSystem_MorphOS::set_sound_proc( void *param, OSystem::SoundProc *proc, byt
puts( "Failed to create sound thread" );
exit( 1 );
}
+
+ return true;
}
void OSystem_MorphOS::fill_sound( byte *stream, int len )