diff options
author | Strangerke | 2016-05-16 22:59:28 +0200 |
---|---|---|
committer | Strangerke | 2016-05-16 22:59:28 +0200 |
commit | bb35d5063b9d76d940767e0a70fef443877ff8c1 (patch) | |
tree | c18a6a0bc395c4611e5a4ff52b69bdb1508cc7ce /engines/gnap | |
parent | 4371d2f4d9566c3f840284dbe86d3358de4db55f (diff) | |
download | scummvm-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.cpp | 4 |
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; } } |