From 892e8dc5661ae5a68743f2a3d8b8c00c6038515d Mon Sep 17 00:00:00 2001 From: OBattler Date: Sat, 23 Jul 2016 17:19:29 +0200 Subject: [PATCH] Fixed another compile-breaking mistake in vid_bt485_ramdac.c. --- src/vid_bt485_ramdac.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vid_bt485_ramdac.c b/src/vid_bt485_ramdac.c index 6ed655433..1d4a715a1 100644 --- a/src/vid_bt485_ramdac.c +++ b/src/vid_bt485_ramdac.c @@ -88,8 +88,8 @@ uint8_t bt485_ramdac_in(uint16_t addr, bt485_ramdac_t *ramdac, svga_t *svga) uint8_t temp; // /*if (CS!=0xC000) */pclog("IN RAMDAC %04X %04X:%04X %i\n",addr,CS,pc, ramdac->rs2); uint8_t reg = addr & 3; - reg | = (ramdac->rs2 ? 4 : 0); - reg | = (ramdac->rs3 ? 8 : 0); + reg |= (ramdac->rs2 ? 4 : 0); + reg |= (ramdac->rs3 ? 8 : 0); pclog("BT485 RAMDAC: Reading register %02\n", reg); return 0xFF;