diff options
Diffstat (limited to 'engines')
-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; } } |