aboutsummaryrefslogtreecommitdiff
path: root/engines/gnap
diff options
context:
space:
mode:
authorStrangerke2016-05-16 22:59:28 +0200
committerStrangerke2016-05-16 22:59:28 +0200
commitbb35d5063b9d76d940767e0a70fef443877ff8c1 (patch)
treec18a6a0bc395c4611e5a4ff52b69bdb1508cc7ce /engines/gnap
parent4371d2f4d9566c3f840284dbe86d3358de4db55f (diff)
downloadscummvm-rg350-bb35d5063b9d76d940767e0a70fef443877ff8c1.tar.gz
scummvm-rg350-bb35d5063b9d76d940767e0a70fef443877ff8c1.tar.bz2
scummvm-rg350-bb35d5063b9d76d940767e0a70fef443877ff8c1.zip
GNAP: Fix broken debug strings
Diffstat (limited to 'engines/gnap')
-rw-r--r--engines/gnap/music.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/gnap/music.cpp b/engines/gnap/music.cpp
index b42f6e9b91..57b2b27820 100644
--- a/engines/gnap/music.cpp
+++ b/engines/gnap/music.cpp
@@ -73,7 +73,7 @@ void MusicPlayer::playSMF(bool loop) {
Common::File musicFile;
musicFile.open(_filename);
if (!musicFile.isOpen()) {
- debugC(2, kDebugMusic, "Cannot open music file %s", _filename);
+ debugC(2, kDebugMusic, "Cannot open music file %s", _filename.c_str());
return;
}
int midiMusicSize = musicFile.size();
@@ -96,7 +96,7 @@ void MusicPlayer::playSMF(bool loop) {
_isLooping = loop;
_isPlaying = true;
} else {
- debugC(2, kDebugMusic, "Cannot play music file %s", _filename);
+ debugC(2, kDebugMusic, "Cannot play music file %s", _filename.c_str());
delete parser;
}
}