Update Sid.Registers.cs

This commit is contained in:
alyosha-tas 2017-05-16 19:59:07 -04:00 committed by GitHub
parent c1c80687c6
commit 1821f631fe
1 changed files with 2 additions and 1 deletions

View File

@ -20,7 +20,7 @@ namespace BizHawk.Emulation.Cores.Computers.Commodore64.MOS
public int Read(int addr)
{
addr &= 0x1F;
var result = 0x00;
var result = _databus;
switch (addr)
{
case 0x19:
@ -124,6 +124,7 @@ namespace BizHawk.Emulation.Cores.Computers.Commodore64.MOS
public void Write(int addr, int val)
{
addr &= 0x1F;
_databus = val;
switch (addr)
{
case 0x19: