From 62a65c1f8d2e6b51b4e57d25cdf33cf67e08eb2b Mon Sep 17 00:00:00 2001 From: mahlemiut Date: Mon, 21 Aug 2017 11:32:57 +1200 Subject: fmtowns: adjust vertical positioning a bit too (nw) --- src/mame/video/fmtowns.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mame/video/fmtowns.cpp b/src/mame/video/fmtowns.cpp index 5d0f006a08a..e8e5464f287 100644 --- a/src/mame/video/fmtowns.cpp +++ b/src/mame/video/fmtowns.cpp @@ -107,15 +107,15 @@ void towns_state::towns_crtc_refresh_mode() // layer 0 m_video.towns_crtc_layerscr[0].min_x = m_video.towns_crtc_reg[9] - m_video.towns_crtc_reg[0]; - m_video.towns_crtc_layerscr[0].min_y = m_video.towns_crtc_reg[13] / 2; + m_video.towns_crtc_layerscr[0].min_y = (m_video.towns_crtc_reg[13] - m_video.towns_crtc_reg[6]) / 2; m_video.towns_crtc_layerscr[0].max_x = m_video.towns_crtc_reg[10] - m_video.towns_crtc_reg[0]; - m_video.towns_crtc_layerscr[0].max_y = m_video.towns_crtc_reg[14] / 2; + m_video.towns_crtc_layerscr[0].max_y = (m_video.towns_crtc_reg[14] - m_video.towns_crtc_reg[6]) / 2; // layer 1 m_video.towns_crtc_layerscr[1].min_x = m_video.towns_crtc_reg[11] - m_video.towns_crtc_reg[0]; - m_video.towns_crtc_layerscr[1].min_y = m_video.towns_crtc_reg[15] / 2; + m_video.towns_crtc_layerscr[1].min_y = (m_video.towns_crtc_reg[15] - m_video.towns_crtc_reg[6]) / 2; m_video.towns_crtc_layerscr[1].max_x = m_video.towns_crtc_reg[12] - m_video.towns_crtc_reg[0]; - m_video.towns_crtc_layerscr[1].max_y = m_video.towns_crtc_reg[16] / 2; + m_video.towns_crtc_layerscr[1].max_y = (m_video.towns_crtc_reg[16] - m_video.towns_crtc_reg[6]) / 2; // sanity checks if(scr.max_x == 0 || scr.max_y == 0) -- cgit v1.2.3