aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Snover2016-12-18 21:18:54 -0600
committerColin Snover2016-12-19 13:56:37 -0600
commita238f720db9f3b6b2122be84d851eafde8efcd99 (patch)
tree3f6da3fdc950d57b22726446ca7a7ebdd4586fab
parent20c211192dcdff42189cc6c3fbe948beb65c1e8e (diff)
downloadscummvm-rg350-a238f720db9f3b6b2122be84d851eafde8efcd99.tar.gz
scummvm-rg350-a238f720db9f3b6b2122be84d851eafde8efcd99.tar.bz2
scummvm-rg350-a238f720db9f3b6b2122be84d851eafde8efcd99.zip
SCI32: Fix nitpicky output errors in SCI32 bitmap debugging
-rw-r--r--engines/sci/console.cpp2
-rw-r--r--engines/sci/engine/segment.h2
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,