egret: fix clock polarity to match VIA6522 corrections. (nw)

This commit is contained in:
arbee 2017-02-02 20:58:14 -05:00
parent 33150c5149
commit f256baf138

View File

@ -162,7 +162,7 @@ void egret_device::send_port(address_space &space, uint8_t offset, uint8_t data)
printf("EG-> VIA_CLOCK: %d (PC=%x)\n", ((data>>4)&1)^1, m_maincpu->pc());
#endif
via_clock = (data>>4) & 1;
write_via_clock(via_clock^1);
write_via_clock(via_clock);
}
}
break;