Skip to content

Commit 9758beb

Browse files
committed
Fix backspace in TTY mode to correctly erase previous character on screen.
1 parent a7f3730 commit 9758beb

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

dist.atari/files/plato.com

-1 Bytes
Binary file not shown.

src/screen_base.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ void screen_tty_char(padByte theChar)
151151
TTYLoc.x -= CharWide;
152152
tgi_setcolor(0);
153153
#ifdef __ATARI__
154-
tgi_bar(mul0625(TTYLoc.x),mul0375(TTYLoc.y^0x1FF),mul0625(TTYLoc.x+CharWide),mul0375(TTYLoc.y^0x1FF+CharHigh));
154+
tgi_bar(mul0625(TTYLoc.x),mul0375(TTYLoc.y^0x1FF),mul0625(TTYLoc.x+CharWide),mul0375((TTYLoc.y+CharHigh)^0x1FF));
155155
#else
156156
tgi_bar(scalex[TTYLoc.x],scaley[TTYLoc.y],scalex[TTYLoc.x+CharWide],scaley[TTYLoc.y+CharHigh]);
157157
#endif

0 commit comments

Comments
 (0)