mirror of
https://github.com/pevans/erc-c.git
synced 2025-02-19 21:30:46 +00:00
Actually do render control characters
This commit is contained in:
parent
136d019f7a
commit
1a6d8b6ced
@ -129,12 +129,6 @@ apple2_text_draw(apple2 *mach, size_t addr)
|
|||||||
// first 6 bits.
|
// first 6 bits.
|
||||||
//ch = ch & 0x7f;
|
//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 (mach->display_mode & DISPLAY_ALTCHAR) {
|
||||||
if (ch < 0x40 || (ch >= 0x60 && ch < 0x7F)) {
|
if (ch < 0x40 || (ch >= 0x60 && ch < 0x7F)) {
|
||||||
font = mach->invfont;
|
font = mach->invfont;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user