MOS/Via.cs - comment out unused variable

This commit is contained in:
adelikat 2020-03-19 10:33:08 -05:00
parent 8ea04c3ed5
commit ca90b90698
1 changed files with 6 additions and 4 deletions

View File

@ -153,8 +153,10 @@ namespace BizHawk.Emulation.Cores.Computers.Commodore64.MOS
public void ExecutePhase()
{
var _shiftIn = false;
var _shiftOut = false;
var shiftIn = false;
// TODO: use this or delete
////var shiftOut = false;
// Process delayed interrupts
_ifr |= _interruptNextClock;
@ -371,11 +373,11 @@ namespace BizHawk.Emulation.Cores.Computers.Commodore64.MOS
if (_acrPbLatchEnable && (_ifr & 0x10) == 0)
_pbLatch = _port.ReadPrb(_prb, _ddrb);
if (_acrSrControl == ACR_SR_CONTROL_DISABLED)
_shiftIn = true;
shiftIn = true;
_ifr |= 0x10;
}
if (_shiftIn)
if (shiftIn)
{
_sr <<= 1;
_sr |= Cb2 ? 1 : 0;