From 7daa46065225ac73d2f5c5d2c16b8f90e711afa9 Mon Sep 17 00:00:00 2001 From: cracyc Date: Sun, 12 Mar 2023 20:46:22 -0500 Subject: ega: be less strict about valid display settings --- src/devices/video/crtc_ega.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/devices/video/crtc_ega.cpp b/src/devices/video/crtc_ega.cpp index 781b435f48e..4ce861fbf8a 100644 --- a/src/devices/video/crtc_ega.cpp +++ b/src/devices/video/crtc_ega.cpp @@ -188,9 +188,7 @@ void crtc_ega_device::recompute_parameters(bool postload) { /* update the screen if we have valid data */ if ((horiz_pix_total > 0) && (max_visible_x < horiz_pix_total) && - (vert_pix_total > 0) && (max_visible_y < vert_pix_total) && - (hsync_on_pos <= horiz_pix_total) && (vsync_on_pos <= vert_pix_total) && - (hsync_on_pos != hsync_off_pos)) + (vert_pix_total > 0) && (max_visible_y < vert_pix_total)) { attoseconds_t refresh = HZ_TO_ATTOSECONDS(m_clock) * (m_horiz_char_total + 2) * vert_pix_total; -- cgit v1.2.3