From 82ac80fde51e05c4ff3aad50873df1f5547a34ad Mon Sep 17 00:00:00 2001 From: Brian Johnson Date: Mon, 19 Jul 2021 10:44:23 -0400 Subject: video/upd7220.cpp: During a GCHRD command, always start with pram[15]. (#8317) Fixes some display bugs on the QX-10 system when using mfbasic.com. --- src/devices/video/upd7220.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/video/upd7220.cpp b/src/devices/video/upd7220.cpp index b4488be7052..8c435dfbeec 100644 --- a/src/devices/video/upd7220.cpp +++ b/src/devices/video/upd7220.cpp @@ -1012,7 +1012,7 @@ void upd7220_device::draw_char(int x, int y) for(int pi = 0; pi < psize; pi++) { - tile_data = (m_ra[((psize-1-pi) & 7) | 8] << 8) | m_ra[((psize-1-pi) & 7) | 8]; + tile_data = (m_ra[15-(pi & 7)] << 8) | m_ra[15-(pi & 7)]; for(int pz = 0; pz <= m_gchr; pz++) { int ii = 0, curpixel = 0; -- cgit v1.2.3