aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/sound.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agi/sound.cpp')
-rw-r--r--engines/agi/sound.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/agi/sound.cpp b/engines/agi/sound.cpp
index 5cf7047ba8..592e66d118 100644
--- a/engines/agi/sound.cpp
+++ b/engines/agi/sound.cpp
@@ -754,7 +754,7 @@ void IIgsChannelInfo::setInstrument(const IIgsInstrumentHeader *instrument, cons
}
// TODO/FIXME: Implement correctly and fully (Take velocity into account etc)
-void IIgsChannelInfo::noteOn(uint8 note, uint8 velocity) {
+void IIgsChannelInfo::noteOn(uint8 note, uint8 velocity) {
this->origNote = note;
this->startEnvVol = intToFrac(0);
rewind();
@@ -770,13 +770,13 @@ void IIgsChannelInfo::noteOn(uint8 note, uint8 velocity) {
this->loop = (waveInfo->mode == OSC_MODE_LOOP);
this->size = waveInfo->size - waveInfo->addr;
this->end = waveInfo->halt;
-};
+}
// TODO/FIXME: Implement correctly and fully (Take release time and velocity into account etc)
void IIgsChannelInfo::noteOff(uint8 velocity) {
this->loop = false;
this->envSeg = ins->relseg;
-};
+}
void IIgsChannelInfo::stop() {
this->end = true;