1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-22 12:33:29 +00:00

Removes some redundant end_writing calls.

This commit is contained in:
Thomas Harte 2017-09-16 17:09:17 -04:00
parent a85909198f
commit 0d84b4b9dd

View File

@ -539,7 +539,6 @@ void i8272::posit_event(int event_type) {
WAIT_FOR_EVENT(Event::DataWritten); WAIT_FOR_EVENT(Event::DataWritten);
if(!has_input_) { if(!has_input_) {
SetOverrun(); SetOverrun();
end_writing();
goto abort; goto abort;
} }
write_byte(input_); write_byte(input_);
@ -660,7 +659,6 @@ void i8272::posit_event(int event_type) {
switch(event_type) { switch(event_type) {
case (int)Event::IndexHole: case (int)Event::IndexHole:
SetOverrun(); SetOverrun();
end_writing();
goto abort; goto abort;
break; break;
case (int)Event::DataWritten: case (int)Event::DataWritten: