Commodore 64: outputs set to read-only on the 6510 IO port are always high

This commit is contained in:
saxxonpike 2013-08-09 03:14:11 +00:00
parent 3e16802382
commit f504a9a4de
1 changed files with 2 additions and 1 deletions

View File

@ -197,7 +197,8 @@ namespace BizHawk.Emulation.Computers.Commodore64.MOS
{
get
{
byte result = 0x00;
//byte result = 0x00;
byte result = (byte)(~portDir & 0xEF);
result |= pinLoram ? (byte)0x01 : (byte)0x00;
result |= pinHiram ? (byte)0x02 : (byte)0x00;