From 4e2bd8b7ab0e737c879b01c62de5ff5fdd240f59 Mon Sep 17 00:00:00 2001 From: Bradley Bell Date: Sat, 15 Mar 2003 01:28:19 +0000 Subject: [PATCH] stop cd audio when exiting --- ChangeLog | 4 ++++ arch/sdl/rbaudio.c | 11 ++++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4bef5e28..029fb53f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-03-14 Christopher Thielen + + * arch/sdl/rbaudio.c (RBAExit): stop cd audio when exiting + 2003-03-14 Micah J. Lieske * main/gamecntl.c: add comments to the "only matt knows" cheats diff --git a/arch/sdl/rbaudio.c b/arch/sdl/rbaudio.c index d5766053..5974a29a 100644 --- a/arch/sdl/rbaudio.c +++ b/arch/sdl/rbaudio.c @@ -1,4 +1,4 @@ -/* $Id: rbaudio.c,v 1.3 2003-01-15 02:42:41 btb Exp $ */ +/* $Id: rbaudio.c,v 1.4 2003-03-15 01:28:19 btb Exp $ */ /* * * SDL CD Audio functions @@ -26,10 +26,11 @@ static int initialised = 0; void RBAExit() { - if (initialised) - { - SDL_CDClose(s_cd); - } + if (initialised) + { + SDL_CDStop(s_cd); + SDL_CDClose(s_cd); + } } void RBAInit() -- 2.39.2