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.
This commit is contained in:
Brian Johnson 2021-07-19 10:44:23 -04:00 committed by GitHub
parent e070405df9
commit 82ac80fde5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;