aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Willis2008-04-17 17:40:28 +0000
committerJohn Willis2008-04-17 17:40:28 +0000
commit7828d50384705a3114c1c44d44f03000b55dc752 (patch)
tree88232d4edf9160d248b62a870a9252f3e0e81122
parent29e2b19c923abb81eb50b61580b982edecd6af3d (diff)
downloadscummvm-rg350-7828d50384705a3114c1c44d44f03000b55dc752.tar.gz
scummvm-rg350-7828d50384705a3114c1c44d44f03000b55dc752.tar.bz2
scummvm-rg350-7828d50384705a3114c1c44d44f03000b55dc752.zip
Fix building with GCC (a few extra ;'s got in there somehow).
svn-id: r31545
-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;