1
0
Fork 0

small vga fixes (vasyl)

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3067
This commit is contained in:
Sebastian Strohhäcker 2007-12-27 10:57:51 +00:00
parent 4577f5ed59
commit a472b4777b
2 changed files with 5 additions and 3 deletions

View file

@ -16,7 +16,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/* $Id: vga_s3.cpp,v 1.9 2007-12-10 22:11:13 c2woody Exp $ */
/* $Id: vga_s3.cpp,v 1.10 2007-12-27 10:57:51 c2woody Exp $ */
#include "dosbox.h"
#include "inout.h"
@ -240,7 +240,7 @@ void SVGA_S3_WriteCRTC(Bitu reg,Bitu val,Bitu iolen) {
}
break;
case 0x5D: /* Extended Horizontal Overflow */
if ((val & vga.s3.ex_hor_overflow) ^ 3) {
if ((val ^ vga.s3.ex_hor_overflow) & 3) {
vga.s3.ex_hor_overflow=val;
VGA_StartResize();
} else vga.s3.ex_hor_overflow=val;