diff options
Diffstat (limited to 'engines/groovie/script.cpp')
-rw-r--r-- | engines/groovie/script.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/groovie/script.cpp b/engines/groovie/script.cpp index 9fd7fa7d63..4abfff74f2 100644 --- a/engines/groovie/script.cpp +++ b/engines/groovie/script.cpp @@ -214,7 +214,7 @@ void Script::directGameLoad(int slot) { void Script::step() { // Prepare the base debug string - _debugString = _scriptFile + Common::String::printf("@0x%04X: ", _currentInstruction); + _debugString = _scriptFile + Common::String::format("@0x%04X: ", _currentInstruction); // Get the current opcode byte opcode = readScript8bits(); @@ -222,7 +222,7 @@ void Script::step() { opcode = opcode & 0x7F; // Show the opcode debug string - _debugString += Common::String::printf("op 0x%02X: ", opcode); + _debugString += Common::String::format("op 0x%02X: ", opcode); // Only output if we're not re-doing the previous instruction if (_currentInstruction != _oldInstruction) { |