Update Sid.Registers.cs
This commit is contained in:
parent
c1c80687c6
commit
1821f631fe
|
@ -20,7 +20,7 @@ namespace BizHawk.Emulation.Cores.Computers.Commodore64.MOS
|
||||||
public int Read(int addr)
|
public int Read(int addr)
|
||||||
{
|
{
|
||||||
addr &= 0x1F;
|
addr &= 0x1F;
|
||||||
var result = 0x00;
|
var result = _databus;
|
||||||
switch (addr)
|
switch (addr)
|
||||||
{
|
{
|
||||||
case 0x19:
|
case 0x19:
|
||||||
|
@ -124,6 +124,7 @@ namespace BizHawk.Emulation.Cores.Computers.Commodore64.MOS
|
||||||
public void Write(int addr, int val)
|
public void Write(int addr, int val)
|
||||||
{
|
{
|
||||||
addr &= 0x1F;
|
addr &= 0x1F;
|
||||||
|
_databus = val;
|
||||||
switch (addr)
|
switch (addr)
|
||||||
{
|
{
|
||||||
case 0x19:
|
case 0x19:
|
||||||
|
|
Loading…
Reference in New Issue