[Scummvm-cvs-logs] SF.net SVN: scummvm:[54950] scummvm/trunk/sound/softsynth/fmtowns_pc98
athrxx at users.sourceforge.net
athrxx at users.sourceforge.net
Sat Dec 18 13:17:34 CET 2010
Revision: 54950
http://scummvm.svn.sourceforge.net/scummvm/?rev=54950&view=rev
Author: athrxx
Date: 2010-12-18 12:17:33 +0000 (Sat, 18 Dec 2010)
Log Message:
-----------
FMTOWNS AUDIO: formatting
Modified Paths:
--------------
scummvm/trunk/sound/softsynth/fmtowns_pc98/towns_audio.cpp
scummvm/trunk/sound/softsynth/fmtowns_pc98/towns_euphony.cpp
Modified: scummvm/trunk/sound/softsynth/fmtowns_pc98/towns_audio.cpp
===================================================================
--- scummvm/trunk/sound/softsynth/fmtowns_pc98/towns_audio.cpp 2010-12-18 08:07:16 UTC (rev 54949)
+++ scummvm/trunk/sound/softsynth/fmtowns_pc98/towns_audio.cpp 2010-12-18 12:17:33 UTC (rev 54950)
@@ -212,7 +212,6 @@
// 80
INTCB(pcmUpdateEnvelopeGenerator),
INTCB(notImpl)
-
};
#undef INTCB
@@ -788,8 +787,7 @@
memset(&_fmSaveReg[0][240], 0x7f, 16);
memset(_fmSaveReg[1], 0, 256);
memset(&_fmSaveReg[1][240], 0x7f, 16);
- _fmSaveReg[0][243] = _fmSaveReg[0][247] = _fmSaveReg[0][251] = _fmSaveReg[0][255] =
- _fmSaveReg[1][243] = _fmSaveReg[1][247] = _fmSaveReg[1][251] = _fmSaveReg[1][255] = 0xff;
+ _fmSaveReg[0][243] = _fmSaveReg[0][247] = _fmSaveReg[0][251] = _fmSaveReg[0][255] = _fmSaveReg[1][243] = _fmSaveReg[1][247] = _fmSaveReg[1][251] = _fmSaveReg[1][255] = 0xff;
for (int i = 0; i < 128; i++)
fmLoadInstrument(i, _fmDefaultInstrument);
Modified: scummvm/trunk/sound/softsynth/fmtowns_pc98/towns_euphony.cpp
===================================================================
--- scummvm/trunk/sound/softsynth/fmtowns_pc98/towns_euphony.cpp 2010-12-18 08:07:16 UTC (rev 54949)
+++ scummvm/trunk/sound/softsynth/fmtowns_pc98/towns_euphony.cpp 2010-12-18 12:17:33 UTC (rev 54950)
@@ -857,7 +857,7 @@
while (*chan != -1) {
_intf->callback(8, *chan, _para[1] & 0x7f);
chan = &_assignedChannels[*chan].next;
- };
+ }
}
void TownsEuphonyDriver::sendPanPosition() {
@@ -865,7 +865,7 @@
while (*chan != -1) {
_intf->callback(3, *chan, _para[1] & 0x7f);
chan = &_assignedChannels[*chan].next;
- };
+ }
}
void TownsEuphonyDriver::sendAllNotesOff() {
@@ -882,7 +882,7 @@
_intf->callback(2, *chan);
}
chan = &_assignedChannels[*chan].next;
- };
+ }
}
void TownsEuphonyDriver::sendSetInstrument() {
@@ -891,7 +891,7 @@
_intf->callback(4, *chan, _para[0]);
_intf->callback(7, *chan, 0);
chan = &_assignedChannels[*chan].next;
- };
+ }
}
void TownsEuphonyDriver::sendPitch() {
@@ -901,5 +901,5 @@
int16 pitch = (((READ_LE_UINT16(_para)) >> 1) & 0x3fff) - 0x2000;
_intf->callback(7, *chan, pitch);
chan = &_assignedChannels[*chan].next;
- };
+ }
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list