aboutsummaryrefslogtreecommitdiff
path: root/sky/music
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-09-24 06:33:59 +0000
committerTorbjörn Andersson2003-09-24 06:33:59 +0000
commit570e60a48797efa08ae5a6c7102f16678704bae8 (patch)
treef7fe3554f78b9c5e70ba4391eeedb69a5f0911ea /sky/music
parent3854ce8f3d060f5bb4c1e248d846f73a7fe2942c (diff)
downloadscummvm-rg350-570e60a48797efa08ae5a6c7102f16678704bae8.tar.gz
scummvm-rg350-570e60a48797efa08ae5a6c7102f16678704bae8.tar.bz2
scummvm-rg350-570e60a48797efa08ae5a6c7102f16678704bae8.zip
Whitespace changes
svn-id: r10390
Diffstat (limited to 'sky/music')
-rw-r--r--sky/music/adlibchannel.cpp48
-rw-r--r--sky/music/gmchannel.cpp48
-rw-r--r--sky/music/musicbase.cpp52
3 files changed, 74 insertions, 74 deletions
diff --git a/sky/music/adlibchannel.cpp b/sky/music/adlibchannel.cpp
index 98b7a9fb17..a5215ca2b5 100644
--- a/sky/music/adlibchannel.cpp
+++ b/sky/music/adlibchannel.cpp
@@ -138,30 +138,30 @@ uint8 SkyAdlibChannel::process(uint16 aktTime) {
// dummy opcode
} else if (opcode >= 0x90) {
switch (opcode&0xF) {
- case 0: com90_caseNoteOff(); break;
- case 1: com90_stopChannel(); break;
- case 2: com90_setupInstrument(); break;
- case 3:
- returnVal = com90_updateTempo();
- break;
- case 5: com90_getFreqOffset(); break;
- case 6: com90_getChannelVolume(); break;
- case 7: com90_getTremoVibro(); break;
- case 8: com90_rewindMusic(); break;
- case 9: com90_keyOff(); break;
- case 12: com90_setStartOfData(); break;
- case 4: //com90_dummy();
- case 10: //com90_error();
- case 11: //com90_doLodsb();
- case 13: //com90_do_two_Lodsb();
- error("SkyChannel: dummy music routine 0x%02X was called",opcode);
- _channelData.channelActive = 0;
- break;
- default:
- // these opcodes aren't implemented in original music driver
- error("SkyChannel: Not existant routine 0x%02X was called",opcode);
- _channelData.channelActive = 0;
- break;
+ case 0: com90_caseNoteOff(); break;
+ case 1: com90_stopChannel(); break;
+ case 2: com90_setupInstrument(); break;
+ case 3:
+ returnVal = com90_updateTempo();
+ break;
+ case 5: com90_getFreqOffset(); break;
+ case 6: com90_getChannelVolume(); break;
+ case 7: com90_getTremoVibro(); break;
+ case 8: com90_rewindMusic(); break;
+ case 9: com90_keyOff(); break;
+ case 12: com90_setStartOfData(); break;
+ case 4: //com90_dummy();
+ case 10: //com90_error();
+ case 11: //com90_doLodsb();
+ case 13: //com90_do_two_Lodsb();
+ error("SkyChannel: dummy music routine 0x%02X was called",opcode);
+ _channelData.channelActive = 0;
+ break;
+ default:
+ // these opcodes aren't implemented in original music driver
+ error("SkyChannel: Not existant routine 0x%02X was called",opcode);
+ _channelData.channelActive = 0;
+ break;
}
} else {
// new adlib channel assignment
diff --git a/sky/music/gmchannel.cpp b/sky/music/gmchannel.cpp
index ceb3ca24a0..744b15f383 100644
--- a/sky/music/gmchannel.cpp
+++ b/sky/music/gmchannel.cpp
@@ -93,30 +93,30 @@ uint8 SkyGmChannel::process(uint16 aktTime) {
// dummy opcode
} else if (opcode >= 0x90) {
switch (opcode&0xF) {
- case 0: com90_caseNoteOff(); break;
- case 1: com90_stopChannel(); break;
- case 2: com90_setupInstrument(); break;
- case 3:
- returnVal = com90_updateTempo();
- break;
- case 5: com90_getPitch(); break;
- case 6: com90_getChannelVolume(); break;
- case 8: com90_rewindMusic(); break;
- case 9: com90_keyOff(); break;
- case 11: com90_getChannelPanValue(); break;
- case 12: com90_setStartOfData(); break;
- case 13: com90_getChannelControl(); break;
- case 4: //com90_dummy();
- case 7: //com90_skipTremoVibro();
- case 10: //com90_error();
- error("SkyChannel: dummy music routine 0x%02X was called",opcode);
- _channelData.channelActive = 0;
- break;
- default:
- // these opcodes aren't implemented in original music driver
- error("SkyChannel: Not existant routine 0x%02X was called",opcode);
- _channelData.channelActive = 0;
- break;
+ case 0: com90_caseNoteOff(); break;
+ case 1: com90_stopChannel(); break;
+ case 2: com90_setupInstrument(); break;
+ case 3:
+ returnVal = com90_updateTempo();
+ break;
+ case 5: com90_getPitch(); break;
+ case 6: com90_getChannelVolume(); break;
+ case 8: com90_rewindMusic(); break;
+ case 9: com90_keyOff(); break;
+ case 11: com90_getChannelPanValue(); break;
+ case 12: com90_setStartOfData(); break;
+ case 13: com90_getChannelControl(); break;
+ case 4: //com90_dummy();
+ case 7: //com90_skipTremoVibro();
+ case 10: //com90_error();
+ error("SkyChannel: dummy music routine 0x%02X was called",opcode);
+ _channelData.channelActive = 0;
+ break;
+ default:
+ // these opcodes aren't implemented in original music driver
+ error("SkyChannel: Not existant routine 0x%02X was called",opcode);
+ _channelData.channelActive = 0;
+ break;
}
} else {
// new midi channel assignment
diff --git a/sky/music/musicbase.cpp b/sky/music/musicbase.cpp
index c0672d70b5..fecfff6dae 100644
--- a/sky/music/musicbase.cpp
+++ b/sky/music/musicbase.cpp
@@ -78,32 +78,32 @@ void SkyMusicBase::musicCommand(uint16 command)
return ;
}
switch(command >> 8) {
- case 0:
- debug(1,"SkyMusic: got call to startAdlibDriver(). Not necessary in this implementation.");
- break;
- case 1:
- debug(1,"SkyMusic: got call to stopDriver(). Not necessary in this implementation.");
- break;
- case 2:
- debug(1,"SkyMusic: got call to SetTempo(). Tempo is fixed in this implementation.");
- break;
- case 3:
- debug(1,"SkyMusic: ignored direct call to driverPoll().");
- break;
- case 4:
- startMusic(command&0xFF);
- break;
- case 6:
- reinitFM();
- break;
- case 7:
- stopMusic();
- break;
- case 13:
- setFMVolume(command&0xFF);
- break;
- default:
- debug(1,"musicCommand %d ignored.",command>>8);
+ case 0:
+ debug(1,"SkyMusic: got call to startAdlibDriver(). Not necessary in this implementation.");
+ break;
+ case 1:
+ debug(1,"SkyMusic: got call to stopDriver(). Not necessary in this implementation.");
+ break;
+ case 2:
+ debug(1,"SkyMusic: got call to SetTempo(). Tempo is fixed in this implementation.");
+ break;
+ case 3:
+ debug(1,"SkyMusic: ignored direct call to driverPoll().");
+ break;
+ case 4:
+ startMusic(command&0xFF);
+ break;
+ case 6:
+ reinitFM();
+ break;
+ case 7:
+ stopMusic();
+ break;
+ case 13:
+ setFMVolume(command&0xFF);
+ break;
+ default:
+ debug(1,"musicCommand %d ignored.",command>>8);
}
}