diff options
-rw-r--r-- | backends/platform/sdl/posix/posix.cpp | 7 | ||||
-rw-r--r-- | backends/platform/sdl/posix/posix.h | 3 |
2 files changed, 4 insertions, 6 deletions
diff --git a/backends/platform/sdl/posix/posix.cpp b/backends/platform/sdl/posix/posix.cpp index 3989bd0043..e2a642b288 100644 --- a/backends/platform/sdl/posix/posix.cpp +++ b/backends/platform/sdl/posix/posix.cpp @@ -243,12 +243,13 @@ bool OSystem_POSIX::displayLogFile() { return WIFEXITED(status) && WEXITSTATUS(status) == 0; } -#ifdef USE_LINUXCD AudioCDManager *OSystem_POSIX::createAudioCDManager() { +#ifdef USE_LINUXCD return createLinuxAudioCDManager(); -} - +#else + return OSystem_SDL::createAudioCDManager(); #endif +} #endif diff --git a/backends/platform/sdl/posix/posix.h b/backends/platform/sdl/posix/posix.h index 9f69bd227f..0514d30191 100644 --- a/backends/platform/sdl/posix/posix.h +++ b/backends/platform/sdl/posix/posix.h @@ -60,10 +60,7 @@ protected: virtual Common::WriteStream *createLogFile(); -#ifdef USE_LINUXCD - // Override createAudioCDManager() for Linux virtual AudioCDManager *createAudioCDManager(); -#endif }; #endif |