MSDOS: implement valid location highlighting

... for VGA and VESA tiled map.
This commit is contained in:
Pasi Kallinen
2023-11-13 12:29:10 +02:00
parent dd5ca5b058
commit f74f7988ff
2 changed files with 24 additions and 4 deletions

View File

@@ -415,6 +415,16 @@ vga_xputg(const glyph_info *glyphinfo,
if (map[ry][col].special)
decal_planar(&planecell, special);
vga_DisplayCell(&planecell, col - clipx, row);
if (bkglyphinfo->framecolor != NO_COLOR) {
int curtypbak = cursor_type;
int cclr = cursor_color;
cursor_type = CURSOR_FRAME;
cursor_color = bkglyphinfo->framecolor;
vga_DrawCursor();
cursor_type = curtypbak;
cursor_color = cclr;
}
}
} else {
read_planar_tile_O(glyphnum, &planecell_O);