Fix building with GCC (a few extra ;'s got in there somehow).

svn-id: r31545
This commit is contained in:
John Willis 2008-04-17 17:40:28 +00:00
parent 29e2b19c92
commit 7828d50384

View File

@ -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;