diff options
Diffstat (limited to '072scenario_screen.cc')
-rw-r--r-- | 072scenario_screen.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/072scenario_screen.cc b/072scenario_screen.cc index fe91a823..a2824a07 100644 --- a/072scenario_screen.cc +++ b/072scenario_screen.cc @@ -327,9 +327,12 @@ void dump_screen() { assert(Memory[screen_data_start] == screen_width*screen_height); long long int curr = screen_data_start+1; // skip length for (long long int row = 0; row < screen_height; ++row) { -//? cerr << curr << ":\n"; //? 1 +//? cerr << curr << ":\n"; //? 2 for (long long int col = 0; col < screen_width; ++col) { - cerr << static_cast<char>(Memory[curr]); + if (Memory[curr]) + cerr << static_cast<char>(Memory[curr]); + else + cerr << ' '; curr += /*size of screen-cell*/2; } cerr << '\n'; |