POSIX: Cleanup AudioCD manager creation.
This commit is contained in:
parent
8cd4b881e3
commit
5340df3faf
2 changed files with 4 additions and 6 deletions
|
@ -243,12 +243,13 @@ bool OSystem_POSIX::displayLogFile() {
|
||||||
return WIFEXITED(status) && WEXITSTATUS(status) == 0;
|
return WIFEXITED(status) && WEXITSTATUS(status) == 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef USE_LINUXCD
|
|
||||||
|
|
||||||
AudioCDManager *OSystem_POSIX::createAudioCDManager() {
|
AudioCDManager *OSystem_POSIX::createAudioCDManager() {
|
||||||
|
#ifdef USE_LINUXCD
|
||||||
return createLinuxAudioCDManager();
|
return createLinuxAudioCDManager();
|
||||||
|
#else
|
||||||
|
return OSystem_SDL::createAudioCDManager();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -60,10 +60,7 @@ protected:
|
||||||
|
|
||||||
virtual Common::WriteStream *createLogFile();
|
virtual Common::WriteStream *createLogFile();
|
||||||
|
|
||||||
#ifdef USE_LINUXCD
|
|
||||||
// Override createAudioCDManager() for Linux
|
|
||||||
virtual AudioCDManager *createAudioCDManager();
|
virtual AudioCDManager *createAudioCDManager();
|
||||||
#endif
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue