From 31ed6f41ed17bb39dc75a55da5521d21342f3072 Mon Sep 17 00:00:00 2001 From: "simon.kagstrom" Date: Sat, 20 Mar 2010 13:48:17 +0000 Subject: [PATCH] Fix true 1541 emulation regression. Wrong warning fix --- Src/CPU1541_SC.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/CPU1541_SC.cpp b/Src/CPU1541_SC.cpp index 09b248a..c666816 100644 --- a/Src/CPU1541_SC.cpp +++ b/Src/CPU1541_SC.cpp @@ -214,7 +214,7 @@ inline uint8 MOS6502_1541::read_byte_io(uint16 adr) return ((via1_prb & 0x1a) | ((IECLines & TheCIA2->IECLines) >> 7) // DATA | (((IECLines & TheCIA2->IECLines) >> 4) & 0x04) // CLK - | (((TheCIA2->IECLines << 3) & 0x80) ^ 0x85)); // ATN + | (((TheCIA2->IECLines << 3) & 0x80))) ^ 0x85; // ATN case 1: case 15: return 0xff; // Keep 1541C ROMs happy (track 0 sensor)