SDL now stops and closes CD only if it is playing.
This commit is contained in:
parent
65b9398100
commit
9936afd45c
1 changed files with 4 additions and 2 deletions
|
@ -1528,8 +1528,10 @@ global void QuitSound(void)
|
|||
#endif
|
||||
|
||||
#ifdef USE_SDLCD
|
||||
SDL_CDStop(CDRom);
|
||||
SDL_CDClose(CDRom);
|
||||
if (strcmp(CDMode,":off")) {
|
||||
SDL_CDStop(CDRom);
|
||||
SDL_CDClose(CDRom);
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef USE_LIBCDA
|
||||
|
|
Loading…
Add table
Reference in a new issue