aboutsummaryrefslogtreecommitdiff
path: root/backends/audiocd/sdl
diff options
context:
space:
mode:
authorBastien Bouclet2014-06-27 16:45:58 +0200
committerBastien Bouclet2015-12-15 20:10:19 +0100
commitb9a107499911873a0f5e5452d292f6541f0f001a (patch)
tree2236e84a6afa3908bf4d2d1dec657b5a81222085 /backends/audiocd/sdl
parentd80c39bb29638bed4bff6453502878eaa5afbbf9 (diff)
downloadscummvm-rg350-b9a107499911873a0f5e5452d292f6541f0f001a.tar.gz
scummvm-rg350-b9a107499911873a0f5e5452d292f6541f0f001a.tar.bz2
scummvm-rg350-b9a107499911873a0f5e5452d292f6541f0f001a.zip
PS3: Make use of an updated SDL2 version
This version, available at https://bitbucket.org/bgK/sdl_psl1ght, is based on SDL 2.0.3.
Diffstat (limited to 'backends/audiocd/sdl')
-rw-r--r--backends/audiocd/sdl/sdl-audiocd.cpp4
-rw-r--r--backends/audiocd/sdl/sdl-audiocd.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/backends/audiocd/sdl/sdl-audiocd.cpp b/backends/audiocd/sdl/sdl-audiocd.cpp
index c7b089af09..ff50c56af3 100644
--- a/backends/audiocd/sdl/sdl-audiocd.cpp
+++ b/backends/audiocd/sdl/sdl-audiocd.cpp
@@ -26,7 +26,7 @@
#include "backends/audiocd/sdl/sdl-audiocd.h"
-#if !SDL_VERSION_ATLEAST(1, 3, 0)
+#if !SDL_VERSION_ATLEAST(2, 0, 0)
#include "common/textconsole.h"
@@ -136,6 +136,6 @@ void SdlAudioCDManager::updateCD() {
}
}
-#endif // !SDL_VERSION_ATLEAST(1, 3, 0)
+#endif // !SDL_VERSION_ATLEAST(2, 0, 0)
#endif
diff --git a/backends/audiocd/sdl/sdl-audiocd.h b/backends/audiocd/sdl/sdl-audiocd.h
index 783d4fe0f0..bfad7b6805 100644
--- a/backends/audiocd/sdl/sdl-audiocd.h
+++ b/backends/audiocd/sdl/sdl-audiocd.h
@@ -27,7 +27,7 @@
#include "backends/platform/sdl/sdl-sys.h"
-#if !SDL_VERSION_ATLEAST(1, 3, 0)
+#if !SDL_VERSION_ATLEAST(2, 0, 0)
/**
* The SDL audio cd manager. Implements real audio cd playback.
@@ -49,6 +49,6 @@ protected:
uint32 _cdEndTime, _cdStopTime;
};
-#endif // !SDL_VERSION_ATLEAST(1, 3, 0)
+#endif // !SDL_VERSION_ATLEAST(2, 0, 0)
#endif