1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-30 23:29:08 +00:00

Adjusted aberrations in semicolons.

This commit is contained in:
Thomas Harte 2016-10-20 21:20:13 -04:00
parent 460f518451
commit 44910d90ba

View File

@ -134,7 +134,8 @@ void Machine::VIA::set_control_line_output(Port port, Line line, bool value)
} }
} }
void Machine::VIA::set_port_output(Port port, uint8_t value, uint8_t direction_mask) { void Machine::VIA::set_port_output(Port port, uint8_t value, uint8_t direction_mask)
{
if(port) if(port)
{ {
keyboard->row = value; keyboard->row = value;
@ -146,7 +147,8 @@ void Machine::VIA::set_port_output(Port port, uint8_t value, uint8_t direction_m
} }
} }
uint8_t Machine::VIA::get_port_input(Port port) { uint8_t Machine::VIA::get_port_input(Port port)
{
if(port) if(port)
{ {
uint8_t column = ay8910->get_port_output(false) ^ 0xff; uint8_t column = ay8910->get_port_output(false) ^ 0xff;