diff options
author | Bastien Bouclet | 2018-07-31 21:41:10 +0200 |
---|---|---|
committer | Bastien Bouclet | 2018-07-31 21:44:26 +0200 |
commit | de886a8b5852248898ff86088dc867cf12a7e245 (patch) | |
tree | 2beec1457e3b487f854e7dfd9d67cd96bf6678e7 /backends/audiocd/win32 | |
parent | 2586ca2345751a0ca5eb2c694e5e2c753054f069 (diff) | |
download | scummvm-rg350-de886a8b5852248898ff86088dc867cf12a7e245.tar.gz scummvm-rg350-de886a8b5852248898ff86088dc867cf12a7e245.tar.bz2 scummvm-rg350-de886a8b5852248898ff86088dc867cf12a7e245.zip |
AUDIO: Fix broken physical audio CD playback on non-win32
The play method did not override the base class due to the addition of
the soundType parameter.
Diffstat (limited to 'backends/audiocd/win32')
-rw-r--r-- | backends/audiocd/win32/win32-audiocd.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/backends/audiocd/win32/win32-audiocd.cpp b/backends/audiocd/win32/win32-audiocd.cpp index 6eff1ef0b3..7269910506 100644 --- a/backends/audiocd/win32/win32-audiocd.cpp +++ b/backends/audiocd/win32/win32-audiocd.cpp @@ -149,14 +149,14 @@ public: Win32AudioCDManager(); ~Win32AudioCDManager(); - virtual bool open(); - virtual void close(); - virtual bool play(int track, int numLoops, int startFrame, int duration, bool onlyEmulate = false, - Audio::Mixer::SoundType soundType = Audio::Mixer::kMusicSoundType); + bool open() override; + void close() override; + bool play(int track, int numLoops, int startFrame, int duration, bool onlyEmulate, + Audio::Mixer::SoundType soundType) override; protected: - virtual bool openCD(int drive); - virtual bool openCD(const Common::String &drive); + bool openCD(int drive) override; + bool openCD(const Common::String &drive) override; private: bool loadTOC(); |