From b4e049db7eab32fc7b62f5fa107448363c0184ca Mon Sep 17 00:00:00 2001 From: TC1995 Date: Sun, 14 Jul 2024 20:51:00 +0200 Subject: [PATCH] Compile fix on PVGA. See above. --- src/video/vid_paradise.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/vid_paradise.c b/src/video/vid_paradise.c index 34e433760..dbc4c2ba3 100644 --- a/src/video/vid_paradise.c +++ b/src/video/vid_paradise.c @@ -472,7 +472,7 @@ paradise_readw(uint32_t addr, void *priv) addr = (addr & 0x7fff) + paradise->read_bank[(addr >> 15) & 3]; /*Could be done in a better way but it works.*/ - if ((svga->gdcreg[0x0e] & 0x01) || (svga->gdcreg[5] & 0x40)) { { + if ((svga->gdcreg[0x0e] & 0x01) || (svga->gdcreg[5] & 0x40)) { if (((svga->gdcreg[6] & 0x0c) == 0x04) && (svga->crtc[0x14] & 0x40) && ((svga->gdcreg[0x0b] & 0xc0) == 0xc0) && !svga->chain4) { prev_addr = addr & 3; prev_addr2 = addr & 0xfffc;