[Scummvm-git-logs] scummvm master -> afb9ff00484ce9aa5cd53afec826f211fd569809

athrxx athrxx at scummvm.org
Wed Jul 17 21:10:43 CEST 2019


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
afb9ff0048 SCUMM: (iMUSE/Amiga) - Fix compiler warning (#1751)


Commit: afb9ff00484ce9aa5cd53afec826f211fd569809
    https://github.com/scummvm/scummvm/commit/afb9ff00484ce9aa5cd53afec826f211fd569809
Author: jepael (jepael at users.noreply.github.com)
Date: 2019-07-17T21:10:39+02:00

Commit Message:
SCUMM: (iMUSE/Amiga) - Fix compiler warning (#1751)

Changed paths:
    engines/scumm/imuse/drivers/amiga.cpp


diff --git a/engines/scumm/imuse/drivers/amiga.cpp b/engines/scumm/imuse/drivers/amiga.cpp
index c119e14..9002e2b 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





More information about the Scummvm-git-logs mailing list