Revert behaviour of TIA read from write-only addresses to match

Stella 4.x (fixes #173).
This commit is contained in:
Stephen Anthony 2017-07-11 17:18:56 -02:30
parent e9acf1f1e8
commit 0d1481cb9d
1 changed files with 1 additions and 1 deletions

View File

@ -412,7 +412,7 @@ uInt8 TIA::peek(uInt16 address)
break;
default:
result = lastDataBusValue;
result = 0;
}
return (result & 0xC0) | (lastDataBusValue & 0x3F);