fmtowns: adjust vertical positioning a bit too (nw)

This commit is contained in:
mahlemiut 2017-08-21 11:32:57 +12:00
parent c1d7ac5603
commit 62a65c1f8d

View File

@ -107,15 +107,15 @@ void towns_state::towns_crtc_refresh_mode()
// layer 0 // 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_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_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 // 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_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_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 // sanity checks
if(scr.max_x == 0 || scr.max_y == 0) if(scr.max_x == 0 || scr.max_y == 0)