aboutsummaryrefslogtreecommitdiff
path: root/engines/prince/sound.cpp
diff options
context:
space:
mode:
authorKamil Zbróg2013-10-28 17:06:12 +0000
committerKamil Zbróg2013-10-28 17:06:12 +0000
commit39265b7a4b3e39348165b126ae53c9d89ccf32a9 (patch)
tree878266bc341739ebcd4512e54c5d862be683169f /engines/prince/sound.cpp
parent84784add6811aa1b285b70e139d0bdf9738c858c (diff)
downloadscummvm-rg350-39265b7a4b3e39348165b126ae53c9d89ccf32a9.tar.gz
scummvm-rg350-39265b7a4b3e39348165b126ae53c9d89ccf32a9.tar.bz2
scummvm-rg350-39265b7a4b3e39348165b126ae53c9d89ccf32a9.zip
PRINCE: replace space with tabs in indent
Diffstat (limited to 'engines/prince/sound.cpp')
-rw-r--r--engines/prince/sound.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/engines/prince/sound.cpp b/engines/prince/sound.cpp
index 2e2e53e664..3285390aca 100644
--- a/engines/prince/sound.cpp
+++ b/engines/prince/sound.cpp
@@ -36,7 +36,7 @@
namespace Prince {
const char * MusicPlayer::_musTable[] = {
- "",
+ "",
"Battlfld.mid",
"Cave.mid",
"Cemetery.mid",
@@ -56,14 +56,14 @@ const char * MusicPlayer::_musTable[] = {
};
const uint8 MusicPlayer::_musRoomTable[] = {
- 0,
- 3,
- 9,
- 9,
- 9,
- 13,
- 9,
- 9
+ 0,
+ 3,
+ 9,
+ 9,
+ 9,
+ 13,
+ 9,
+ 9
};
@@ -81,7 +81,7 @@ MusicPlayer::MusicPlayer(PrinceEngine *vm) : _vm(vm) {
_driver->sendGMReset();
// TODO: Load cmf.ins with the instrument table. It seems that an
- // interface for such an operation is supported for AdLib. Maybe for
+ // interface for such an operation is supported for AdLib. Maybe for
// this card, setting instruments is necessary.
_driver->setTimerCallback(this, &timerCallback);
@@ -100,8 +100,8 @@ void MusicPlayer::killMidi() {
}
void MusicPlayer::loadMidi(const char * name) {
- Common::SeekableReadStream * stream = SearchMan.createReadStreamForMember(name);
- if (!stream)
+ Common::SeekableReadStream * stream = SearchMan.createReadStreamForMember(name);
+ if (!stream)
return;
// Stop any currently playing MIDI file
@@ -110,7 +110,7 @@ void MusicPlayer::loadMidi(const char * name) {
// Read in the data for the file
_dataSize = stream->size();
_data = (byte *)malloc(_dataSize);
- stream->read(_data, _dataSize);
+ stream->read(_data, _dataSize);
// Start playing the music
sndMidiStart();