1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-11-18 22:06:01 +00:00

Actually do render control characters

This commit is contained in:
Peter Evans 2018-03-06 12:46:33 -06:00
parent 136d019f7a
commit 1a6d8b6ced

View File

@ -129,12 +129,6 @@ apple2_text_draw(apple2 *mach, size_t addr)
// first 6 bits.
//ch = ch & 0x7f;
// We treat special characters as spaces for display purposes.
if (ch < 0x20) {
vm_bitfont_render(font, mach->screen, &dest, ' ');
return;
}
if (mach->display_mode & DISPLAY_ALTCHAR) {
if (ch < 0x40 || (ch >= 0x60 && ch < 0x7F)) {
font = mach->invfont;