diff options
author | Brian Johnson <brijohn@gmail.com> | 2021-07-19 10:44:23 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-20 00:44:23 +1000 |
commit | 82ac80fde51e05c4ff3aad50873df1f5547a34ad (patch) | |
tree | 1eea1b2fe3c54d67afc6a84ea206f718bd79b303 | |
parent | e070405df99e6a5997d5a64ecd62e7161c729a9d (diff) |
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.
-rw-r--r-- | src/devices/video/upd7220.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |