diff options
author | Travis Howell | 2009-01-24 12:26:14 +0000 |
---|---|---|
committer | Travis Howell | 2009-01-24 12:26:14 +0000 |
commit | 2c11490d698d7fb065938fe5acfa3101f046f378 (patch) | |
tree | 889b64dada2f03498aecbe7ccf8422020342eab2 /backends/platform/sdl | |
parent | ab5e3db9e3d1fae2abf97cf4770c8caab8ae81cc (diff) | |
download | scummvm-rg350-2c11490d698d7fb065938fe5acfa3101f046f378.tar.gz scummvm-rg350-2c11490d698d7fb065938fe5acfa3101f046f378.tar.bz2 scummvm-rg350-2c11490d698d7fb065938fe5acfa3101f046f378.zip |
pollCD() should only return true, if CD audio is actually playing.
svn-id: r36035
Diffstat (limited to 'backends/platform/sdl')
-rw-r--r-- | backends/platform/sdl/sdl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/sdl/sdl.cpp b/backends/platform/sdl/sdl.cpp index 13ad284060..5af8d58872 100644 --- a/backends/platform/sdl/sdl.cpp +++ b/backends/platform/sdl/sdl.cpp @@ -782,7 +782,7 @@ bool OSystem_SDL::pollCD() { if (!_cdrom) return false; - return (_cdNumLoops != 0 && (SDL_GetTicks() < _cdEndTime || SDL_CDStatus(_cdrom) != CD_STOPPED)); + return (_cdNumLoops != 0 && (SDL_GetTicks() < _cdEndTime || SDL_CDStatus(_cdrom) == CD_PLAYING)); } void OSystem_SDL::updateCD() { |