mirror of
https://github.com/holub/mame
synced 2025-07-01 16:19:38 +03:00
fmtowns: adjust vertical positioning a bit too (nw)
This commit is contained in:
parent
c1d7ac5603
commit
62a65c1f8d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user