diff options
Diffstat (limited to 'engines/sci/sound/softseq/amiga.cpp')
-rw-r--r-- | engines/sci/sound/softseq/amiga.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sci/sound/softseq/amiga.cpp b/engines/sci/sound/softseq/amiga.cpp index 1042d98422..8324fc9dd2 100644 --- a/engines/sci/sound/softseq/amiga.cpp +++ b/engines/sci/sound/softseq/amiga.cpp @@ -654,7 +654,7 @@ void MidiDriver_Amiga::generateSamples(int16 *data, int len) { class MidiPlayer_Amiga : public MidiPlayer { public: MidiPlayer_Amiga() { _driver = new MidiDriver_Amiga(g_system->getMixer()); } - int getPlayMask(SciVersion soundVersion); + byte getPlayId(SciVersion soundVersion); int getPolyphony() const { return MidiDriver_Amiga::kVoices; } bool hasRhythmChannel() const { return false; } void setVolume(byte volume) { static_cast<MidiDriver_Amiga *>(_driver)->setVolume(volume); } @@ -666,9 +666,9 @@ MidiPlayer *MidiPlayer_Amiga_create() { return new MidiPlayer_Amiga(); } -int MidiPlayer_Amiga::getPlayMask(SciVersion soundVersion) { - if (soundVersion == SCI_VERSION_0_EARLY) - error("No amiga support for sci0early"); +byte MidiPlayer_Amiga::getPlayId(SciVersion soundVersion) { + if (soundVersion != SCI_VERSION_0_LATE) + error("Amiga sound support not available for this SCI version"); return 0x40; } |