From a238f720db9f3b6b2122be84d851eafde8efcd99 Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Sun, 18 Dec 2016 21:18:54 -0600 Subject: SCI32: Fix nitpicky output errors in SCI32 bitmap debugging --- engines/sci/console.cpp | 2 +- engines/sci/engine/segment.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/engines/sci/console.cpp b/engines/sci/console.cpp index 412dfaf184..f1bb8d3e7f 100644 --- a/engines/sci/console.cpp +++ b/engines/sci/console.cpp @@ -2229,7 +2229,7 @@ bool Console::segmentInfo(int nr) { debugPrintf("SCI32 bitmaps (total %d)\n", table.entries_used); for (uint i = 0; i < table.size(); ++i) { if (table.isValidEntry(i)) { - debugPrintf(" [%04x] %s", i, table[i].toString().c_str()); + debugPrintf(" [%04x] %s\n", i, table[i].toString().c_str()); } } break; diff --git a/engines/sci/engine/segment.h b/engines/sci/engine/segment.h index dda0189a77..98a3969702 100644 --- a/engines/sci/engine/segment.h +++ b/engines/sci/engine/segment.h @@ -1161,7 +1161,7 @@ public: } Common::String toString() const { - return Common::String::format("%dx%d; res %dx%d; origin %dx%d; skip color %u; %s; %s):\n", + return Common::String::format("%dx%d; res %dx%d; origin %dx%d; skip color %u; %s; %s)", getWidth(), getHeight(), getXResolution(), getYResolution(), getOrigin().x, getOrigin().y, -- cgit v1.2.3