diff options
author | mahlemiut <bsr@xnet.co.nz> | 2017-08-21 11:32:57 +1200 |
---|---|---|
committer | mahlemiut <bsr@xnet.co.nz> | 2017-08-21 11:33:17 +1200 |
commit | 62a65c1f8d2e6b51b4e57d25cdf33cf67e08eb2b (patch) | |
tree | 473a516d0c52740768a14abe6e5823ab831b8f65 | |
parent | c1d7ac5603b7d4e893320ae789029f8506afa29d (diff) |
fmtowns: adjust vertical positioning a bit too (nw)
-rw-r--r-- | src/mame/video/fmtowns.cpp | 8 |
1 files 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) |