From 0d1481cb9d3416e3cb0783f55d70af7fc23b7623 Mon Sep 17 00:00:00 2001 From: Stephen Anthony Date: Tue, 11 Jul 2017 17:18:56 -0230 Subject: [PATCH] Revert behaviour of TIA read from write-only addresses to match Stella 4.x (fixes #173). --- src/emucore/tia/TIA.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emucore/tia/TIA.cxx b/src/emucore/tia/TIA.cxx index 0b6303a98..90cc326f3 100644 --- a/src/emucore/tia/TIA.cxx +++ b/src/emucore/tia/TIA.cxx @@ -412,7 +412,7 @@ uInt8 TIA::peek(uInt16 address) break; default: - result = lastDataBusValue; + result = 0; } return (result & 0xC0) | (lastDataBusValue & 0x3F);