Fixed a compile-breaking mistake in vid_cl_gd.c.
This commit is contained in:
@@ -8,13 +8,13 @@
|
||||
*
|
||||
* Emulation of select Cirrus Logic cards.
|
||||
*
|
||||
* Version: @(#)vid_cl_gd.c 1.0.4 2017/11/04
|
||||
* Version: @(#)vid_cl_gd.c 1.0.5 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>
|
||||
@@ -209,8 +209,6 @@ void clgd_out(uint16_t addr, uint8_t val, void *p)
|
||||
svga->crtcreg = val & 0x3f;
|
||||
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))
|
||||
|
Reference in New Issue
Block a user