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

Made it more explicit that there are no unhandled cases.

This commit is contained in:
Thomas Harte 2017-01-01 20:56:52 -05:00
parent 0df9ce5a76
commit 044c920a5b

View File

@ -789,12 +789,9 @@ void WD1770::posit_event(Event new_event_type)
WAIT_FOR_TIME(30);
test_type3_type:
switch(command_ >> 4)
{
case 0xa: goto begin_read_address;
case 0xc: goto begin_read_track;
case 0xf: goto begin_write_track;
}
if(!(command_&0x20)) goto begin_read_address;
if(!(command_&0x10)) goto begin_read_track;
goto begin_write_track;
begin_read_address:
index_hole_count_ = 0;