mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-10 12:55:24 +00:00
SCUMM: (iMUSE/Amiga) - Fix compiler warning (#1751)
This commit is contained in:
parent
a6bf63bc1a
commit
afb9ff0048
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user