Skip to content

Commit

Permalink
logging tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
folkertvanheusden committed Feb 25, 2025
1 parent 2917728 commit 7bfcbfa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Display.cs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ protected bool IsHsync()
protected void EmulateTextDisplay(uint x, uint y, byte character, byte attributes)
{
// attribute, character
Log.DoLog($"Display::WriteByte {x},{y} = {(char)character}", true);
if (character >= 32 && character < 127)
Log.DoLog($"Display::WriteByte {x},{y} = {(char)character}", true);

WriteTextConsole((char)27); // position cursor
WriteTextConsole($"[{y + 1};{x + 1}H");
Expand Down

0 comments on commit 7bfcbfa

Please sign in to comment.