ExitFatal() now calls QuitCD()
This commit is contained in:
parent
cfe335c63a
commit
386b5fe3f7
1 changed files with 1 additions and 14 deletions
|
@ -732,20 +732,7 @@ global volatile void Exit(int err)
|
|||
|
||||
global volatile void ExitFatal(int err)
|
||||
{
|
||||
#ifdef USE_SDLCD
|
||||
if (strcmp(CDMode,":off")) {
|
||||
SDL_CDStop(CDRom);
|
||||
SDL_CDClose(CDRom);
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef USE_LIBCDA
|
||||
if (strcmp(CDMode,":off")) {
|
||||
cd_stop();
|
||||
cd_close();
|
||||
cd_exit();
|
||||
}
|
||||
#endif
|
||||
QuitCD();
|
||||
exit(err);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue