aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2018-03-28 12:35:22 +0200
committerEugene Sandulenko2018-03-28 12:35:22 +0200
commit22b674777fcfe88ec930c6f62f8675e2774b8b41 (patch)
tree26e06b17eee8233ce586cca2839d6b0649088667
parent378d9153b6e56587e05c238ed9dd0825b892bd25 (diff)
downloadscummvm-rg350-22b674777fcfe88ec930c6f62f8675e2774b8b41.tar.gz
scummvm-rg350-22b674777fcfe88ec930c6f62f8675e2774b8b41.tar.bz2
scummvm-rg350-22b674777fcfe88ec930c6f62f8675e2774b8b41.zip
SCI: Added overried specifiers
-rw-r--r--engines/sci/sound/drivers/midi.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/engines/sci/sound/drivers/midi.cpp b/engines/sci/sound/drivers/midi.cpp
index 46d08a5997..889a875804 100644
--- a/engines/sci/sound/drivers/midi.cpp
+++ b/engines/sci/sound/drivers/midi.cpp
@@ -143,25 +143,25 @@ public:
MidiPlayer_Midi(SciVersion version);
virtual ~MidiPlayer_Midi();
- int open(ResourceManager *resMan);
- void close();
- void send(uint32 b);
- void sysEx(const byte *msg, uint16 length);
- bool hasRhythmChannel() const { return true; }
- byte getPlayId() const;
- int getPolyphony() const {
+ int open(ResourceManager *resMan) override;
+ void close() override;
+ void send(uint32 b) override;
+ void sysEx(const byte *msg, uint16 length) override;
+ bool hasRhythmChannel() const override { return true; }
+ byte getPlayId() const override;
+ int getPolyphony() const override {
if (g_sci && g_sci->_features->useAltWinGMSound())
return 16;
else
return kVoices;
}
- int getFirstChannel() const;
- int getLastChannel() const;
- void setVolume(byte volume);
+ int getFirstChannel() const override;
+ int getLastChannel() const override;
+ void setVolume(byte volume) override;
virtual void onNewSound() override;
- int getVolume();
- void setReverb(int8 reverb);
- void playSwitch(bool play);
+ int getVolume() override;
+ void setReverb(int8 reverb) override;
+ void playSwitch(bool play) override;
private:
bool isMt32GmPatch(const SciSpan<const byte> &data);