1
0
mirror of https://github.com/jscrane/r65emu.git synced 2024-10-28 07:25:06 +00:00

rp2040 drawString() bugfix

This commit is contained in:
steve 2024-10-17 12:37:26 +01:00
parent 9690ffb019
commit 9da8a503a2

View File

@ -347,7 +347,7 @@ void Display::drawString(const char *s, unsigned x, unsigned y, colour_t c) {
#elif defined(USE_DVI)
dvi.setTextColor(col(c));
dvi.setCursor(x, y);
dvi.fillRect(x, y, x+_cx*strlen(s), y+_cy, _bg);
dvi.fillRect(x, y, _cx*strlen(s), _cy, _bg);
dvi.print(s);
#endif
}