From 96e3449a175b02b8b8a54655624cbb20344b7825 Mon Sep 17 00:00:00 2001 From: tomcw Date: Tue, 7 May 2024 21:39:43 +0100 Subject: [PATCH] Fix TODO comment that D7 is not readable in MB mode --- source/Mockingboard.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Mockingboard.cpp b/source/Mockingboard.cpp index e1a3b5a9..8cc4ba29 100644 --- a/source/Mockingboard.cpp +++ b/source/Mockingboard.cpp @@ -668,7 +668,7 @@ BYTE MockingboardCard::IOReadInternal(WORD PC, WORD nAddr, BYTE bWrite, BYTE nVa return MemReadFloatingBus(nExecutedCycles); #endif - // NB. Mockingboard: SSI263.bit7 not readable (TODO: check this with real h/w) + // NB. Mockingboard: SSI263.bit7 not readable const BYTE subunit = QueryType() == CT_SDMusic ? SY6522_DEVICE_A : !(nAddr & 0x80) ? SY6522_DEVICE_A : SY6522_DEVICE_B; const BYTE reg = nAddr & 0xf; return m_MBSubUnit[subunit].sy6522.Read(reg);