mirror of
https://github.com/holub/mame
synced 2025-04-22 08:22:15 +03:00
Fix for MT 05296
(unable to close the MT report due to 403 error)
This commit is contained in:
parent
8093002724
commit
50fe0706f5
@ -458,7 +458,8 @@ READ_LINE_MEMBER( mc6845_device::vsync_r )
|
||||
void mc6845_device::recompute_parameters(bool postload)
|
||||
{
|
||||
UINT16 hsync_on_pos, hsync_off_pos, vsync_on_pos, vsync_off_pos;
|
||||
UINT16 video_char_height = (MODE_INTERLACE_AND_VIDEO ? m_max_ras_addr + 1 : m_max_ras_addr) + 1;
|
||||
//UINT16 video_char_height = (MODE_INTERLACE_AND_VIDEO ? m_max_ras_addr + 1 : m_max_ras_addr) + 1;
|
||||
UINT16 video_char_height = m_max_ras_addr + 1; // fix garbage at the bottom of the screen (eg victor9k)
|
||||
// Would be useful for 'interlace and video' mode support...
|
||||
// UINT16 frame_char_height = (MODE_INTERLACE_AND_VIDEO ? m_max_ras_addr / 2 : m_max_ras_addr) + 1;
|
||||
|
||||
@ -515,7 +516,7 @@ void mc6845_device::recompute_parameters(bool postload)
|
||||
rectangle visarea;
|
||||
|
||||
attoseconds_t refresh = HZ_TO_ATTOSECONDS(m_clock) * (m_horiz_char_total + 1) * vert_pix_total;
|
||||
|
||||
printf("%d:%d ",m_vert_disp, video_char_height);
|
||||
if(m_show_border_area)
|
||||
visarea.set(0, horiz_pix_total+1, 0, vert_pix_total+1);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user