From 6118a57ffc159f42487f716842b4ae860bebc041 Mon Sep 17 00:00:00 2001 From: Sjoerd van der Berg Date: Sat, 7 Feb 2004 18:49:28 +0000 Subject: [PATCH] Changing scanline length doesn't start a screen resize Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1659 --- src/hardware/vga_crtc.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/hardware/vga_crtc.cpp b/src/hardware/vga_crtc.cpp index e957f8ec..c8b8950f 100644 --- a/src/hardware/vga_crtc.cpp +++ b/src/hardware/vga_crtc.cpp @@ -219,12 +219,9 @@ void write_p3d5(Bit32u port,Bit8u val) { */ break; case 0x13: /* Offset register */ - if (val!=crtc(offset)) { - crtc(offset)=val; - vga.config.scan_len&=0x300; - vga.config.scan_len|=val; - VGA_StartResize(); - } + crtc(offset)=val; + vga.config.scan_len&=0x300; + vga.config.scan_len|=val; /* 0-7 Number of bytes in a scanline / K. Where K is 2 for byte mode, 4 for word mode and 8 for Double Word mode.