Removed excess CRTC masking from several graphics cards;

Reverted two dynarec files to their PCem versions - fixes Sensible Soccer.
This commit is contained in:
OBattler
2018-02-03 03:19:12 +01:00
parent ccb5fdf563
commit 2707de9925
10 changed files with 20 additions and 36 deletions

View File

@@ -8,13 +8,13 @@
*
* IBM VGA emulation.
*
* Version: @(#)vid_vga.c 1.0.2 2017/11/04
* Version: @(#)vid_vga.c 1.0.3 2018/02/03
*
* Authors: Sarah Walker, <http://pcem-emulator.co.uk/>
* Miran Grca, <mgrca8@gmail.com>
*
* Copyright 2008-2017 Sarah Walker.
* Copyright 2016,2017 Miran Grca.
* Copyright 2008-2018 Sarah Walker.
* Copyright 2016-2018 Miran Grca.
*/
#include <stdio.h>
#include <stdint.h>
@@ -53,8 +53,6 @@ void vga_out(uint16_t addr, uint8_t val, void *p)
svga->crtcreg = val & 0x1f;
return;
case 0x3D5:
if (svga->crtcreg <= 0x18)
val &= mask_crtc[svga->crtcreg];
if ((svga->crtcreg < 7) && (svga->crtc[0x11] & 0x80))
return;
if ((svga->crtcreg == 7) && (svga->crtc[0x11] & 0x80))