Implement configurable hardware cursor size on TGUI9440.
This commit is contained in:
parent
245ad1cd42
commit
1d93b73e3a
2 changed files with 11 additions and 2 deletions
|
|
@ -331,7 +331,11 @@ void tgui_out(uint16_t addr, uint8_t val, void *p)
|
|||
|
||||
case 0x50:
|
||||
if (tgui->type >= TGUI_9440)
|
||||
{
|
||||
svga->hwcursor.ena = val & 0x80;
|
||||
svga->hwcursor.xsize = (val & 1) ? 64 : 32;
|
||||
svga->hwcursor.ysize = (val & 1) ? 64 : 32;
|
||||
}
|
||||
break;
|
||||
}
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue