aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2014-10-28 16:12:25 +0200
committerFilippos Karapetis2014-10-28 16:12:25 +0200
commiteed9da3ea29324617ae4367569bc7cea1f16d902 (patch)
tree3ae0954b8e077d3c837d743c345ade95fa7d626c
parentceab7a8742a690f71c1080604bd6aebe1261286c (diff)
downloadscummvm-rg350-eed9da3ea29324617ae4367569bc7cea1f16d902.tar.gz
scummvm-rg350-eed9da3ea29324617ae4367569bc7cea1f16d902.tar.bz2
scummvm-rg350-eed9da3ea29324617ae4367569bc7cea1f16d902.zip
SWORD1: Remove trailing whitespace
-rw-r--r--engines/sword1/console.cpp2
-rw-r--r--engines/sword1/sound.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/sword1/console.cpp b/engines/sword1/console.cpp
index 7fabc62192..3a4b51965b 100644
--- a/engines/sword1/console.cpp
+++ b/engines/sword1/console.cpp
@@ -36,7 +36,7 @@ SwordConsole::SwordConsole(SwordEngine *vm) : GUI::Debugger(), _vm(vm) {
SwordConsole::~SwordConsole() {
}
-
+
bool SwordConsole::Cmd_SpeechEndianness(int argc, const char **argv) {
if (argc == 1) {
debugPrintf("Using %s speech\n", _vm->_sound->_bigEndianSpeech ? "be" : "le");
diff --git a/engines/sword1/sound.cpp b/engines/sword1/sound.cpp
index 9140bddb65..4deaf06edc 100644
--- a/engines/sword1/sound.cpp
+++ b/engines/sword1/sound.cpp
@@ -144,7 +144,7 @@ void Sound::checkSpeechFileEndianness() {
debug(8, "Speech endianness heuristic: average = %f for BE and %f for LE (%d samples)", be_diff, le_diff, maxSamples);
}
}
-
+
double Sound::endiannessHeuristicValue(int16* data, uint32 dataSize, uint32 &maxSamples) {
if (!data)
return 50000.; // the heuristic value for the wrong endianess is about 21000 (1/3rd of the 16 bits range)