x68k: fix bg size again

This commit is contained in:
cracyc 2023-09-09 10:25:08 -05:00
parent e8884ccbaf
commit b3fc1492c7

View File

@ -734,7 +734,7 @@ uint32_t x68k_state::screen_update(screen_device &screen, bitmap_rgb32 &bitmap,
if(/*(m_spritereg[0x404] & 0x0200) &&*/ (m_video.reg[2] & 0x0040))
{
rectangle pcgrect = rect;
if((!(m_video.bg_hvres & 0x0c) && m_crtc->gfx_double_scan()) || ((m_video.bg_hvres & 0x1c) == 0x10 && m_crtc->vfactor() == 1) || (m_video.bg_hvres == 1))
if((!(m_video.bg_hvres & 0x0c) && m_crtc->gfx_double_scan()) || ((m_video.bg_hvres & 0x1c) == 0x10 && m_crtc->vfactor() == 1) || (m_video.bg_hvres == 1 && m_crtc->vfactor() == 2))
{
pcgrect.max_y >>= 1;
pcgrect.min_y >>= 1;