From 8db88b342eb7f8746b4de0c3306f6727b4f4e598 Mon Sep 17 00:00:00 2001 From: Ruediger Hanke Date: Fri, 19 Apr 2002 10:18:12 +0000 Subject: Fix freeze on exit bug when using MIDI music, removed no longer required headers svn-id: r4003 --- morphos/morphos.cpp | 2 +- morphos/morphos_sound.cpp | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/morphos/morphos.cpp b/morphos/morphos.cpp index 487ecbd45f..98cedc1e2d 100644 --- a/morphos/morphos.cpp +++ b/morphos/morphos.cpp @@ -169,7 +169,7 @@ OSystem_MorphOS::~OSystem_MorphOS() if( ScummMusicThread ) { - Signal( (struct Task *)ScummMusicThread, SIGBREAKF_CTRL_F ); + Signal( (struct Task *)ScummMusicThread, SIGBREAKF_CTRL_C ); ObtainSemaphore( &ScummMusicThreadRunning ); /* Wait for thread to finish */ ReleaseSemaphore( &ScummMusicThreadRunning ); } diff --git a/morphos/morphos_sound.cpp b/morphos/morphos_sound.cpp index c20631ef8f..67fa0ebaee 100644 --- a/morphos/morphos_sound.cpp +++ b/morphos/morphos_sound.cpp @@ -21,12 +21,8 @@ * */ -#include - #include "stdafx.h" #include "scumm.h" -#include "mididrv.h" -#include "imuse.h" #include #include -- cgit v1.2.3