mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-20 19:21:46 +00:00
SDL: Guard audio CD code to be SDL 1.2 only.
This commit is contained in:
parent
99f4dafa72
commit
b00050439f
@ -24,9 +24,12 @@
|
||||
|
||||
#if defined(SDL_BACKEND)
|
||||
|
||||
#include "common/textconsole.h"
|
||||
#include "backends/audiocd/sdl/sdl-audiocd.h"
|
||||
|
||||
#if !SDL_VERSION_ATLEAST(1, 3, 0)
|
||||
|
||||
#include "common/textconsole.h"
|
||||
|
||||
SdlAudioCDManager::SdlAudioCDManager()
|
||||
:
|
||||
_cdrom(0),
|
||||
@ -133,4 +136,6 @@ void SdlAudioCDManager::updateCD() {
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !SDL_VERSION_ATLEAST(1, 3, 0)
|
||||
|
||||
#endif
|
||||
|
@ -27,6 +27,8 @@
|
||||
|
||||
#include "backends/platform/sdl/sdl-sys.h"
|
||||
|
||||
#if !SDL_VERSION_ATLEAST(1, 3, 0)
|
||||
|
||||
/**
|
||||
* The SDL audio cd manager. Implements real audio cd playback.
|
||||
*/
|
||||
@ -47,4 +49,6 @@ protected:
|
||||
uint32 _cdEndTime, _cdStopTime;
|
||||
};
|
||||
|
||||
#endif // !SDL_VERSION_ATLEAST(1, 3, 0)
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user