aboutsummaryrefslogtreecommitdiff
path: root/engines/mortevielle/sound.cpp
diff options
context:
space:
mode:
authorStrangerke2012-02-24 22:55:00 +0100
committerStrangerke2012-04-06 08:21:59 +0200
commit3a8a15e201f36a7f33e73cc88c68378013ddb0de (patch)
tree154d69c52f2cecd942da7e167d9135811f9e6210 /engines/mortevielle/sound.cpp
parent735c7c3c641e6d403e9bbb8b657a687a26fa715c (diff)
downloadscummvm-rg350-3a8a15e201f36a7f33e73cc88c68378013ddb0de.tar.gz
scummvm-rg350-3a8a15e201f36a7f33e73cc88c68378013ddb0de.tar.bz2
scummvm-rg350-3a8a15e201f36a7f33e73cc88c68378013ddb0de.zip
MORTEVIELLE: Some more cleanup, add alternate file names used by german and alternate french versions
Diffstat (limited to 'engines/mortevielle/sound.cpp')
-rw-r--r--engines/mortevielle/sound.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mortevielle/sound.cpp b/engines/mortevielle/sound.cpp
index 0a6e7e8d8d..5f634c595c 100644
--- a/engines/mortevielle/sound.cpp
+++ b/engines/mortevielle/sound.cpp
@@ -87,7 +87,7 @@ int PCSpeaker::readBuffer(int16 *buffer, const int numSamples) {
int i;
- for (i = 0; (_remainingSamples || !_pendingNotes.empty()) && (i < numSamples); i++) {
+ for (i = 0; (_remainingSamples || !_pendingNotes.empty()) && (i < numSamples); ++i) {
if (!_remainingSamples)
// Used up the current note, so queue the next one
dequeueNote();
@@ -148,7 +148,7 @@ SoundManager::~SoundManager() {
/**
* Decode music data
*/
-void SoundManager::demus(const byte *PSrc, byte *PDest, int NbreSeg) {
+void SoundManager::decodeMusic(const byte *PSrc, byte *PDest, int NbreSeg) {
int seed = 128;
int v;