diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/scumm/imuse/drivers/amiga.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/imuse/drivers/amiga.cpp b/engines/scumm/imuse/drivers/amiga.cpp index c119e14981..9002e2b9f4 100644 --- a/engines/scumm/imuse/drivers/amiga.cpp +++ b/engines/scumm/imuse/drivers/amiga.cpp @@ -66,7 +66,7 @@ public: void updateLevel(); void updateEnvelope(); - uint8 note() const { return _note; } + uint8 getNote() const { return _note; } SoundChannel_Amiga *next() const { return _next; } private: @@ -504,7 +504,7 @@ void IMusePart_Amiga::send(uint32 b) { void IMusePart_Amiga::noteOff(byte note) { for (SoundChannel_Amiga *cur = _out; cur; cur = cur->next()) { - if (note == cur->note()) { + if (note == cur->getNote()) { if (_sustain) cur->ctrl_sustain(true); else |