Minor bug fixes.
This commit is contained in:
parent
ef09ba3300
commit
e830c4b3e9
2 changed files with 8 additions and 3 deletions
src
|
@ -1228,9 +1228,10 @@ global void QuitCD(void)
|
|||
if (strcmp(CDMode,":off") && strcmp(CDMode,":stopped"))
|
||||
SDL_CDStop(CDRom);
|
||||
CDMode = ":stopped";
|
||||
if (strcmp(CDMode,":off"))
|
||||
if (strcmp(CDMode,":off")) {
|
||||
SDL_CDClose(CDRom);
|
||||
CDMode = ":off"
|
||||
CDMode = ":off";
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef USE_LIBCDA
|
||||
|
@ -1240,7 +1241,7 @@ global void QuitCD(void)
|
|||
if (strcmp(CDMode,":off")) {
|
||||
cd_close();
|
||||
cd_exit();
|
||||
CDMode = ":off"
|
||||
CDMode = ":off";
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -58,6 +58,10 @@
|
|||
#include "SDL.h"
|
||||
#endif
|
||||
|
||||
#ifdef USE_LIBCDA
|
||||
#include "sound.h"
|
||||
#endif
|
||||
|
||||
/*----------------------------------------------------------------------------
|
||||
-- Prototypes for local functions
|
||||
----------------------------------------------------------------------------*/
|
||||
|
|
Loading…
Add table
Reference in a new issue