FDC seek command always reports ST0 with head 0. Fixes numerous disc access

issues on Windows 98SE/ME.
This commit is contained in:
SarahW 2020-03-04 22:01:57 +00:00
commit 2e3444697f

View file

@ -639,7 +639,7 @@ bad_command:
case 0x0f: /*Seek*/
fdc.stat = 1 << fdc.drive;
fdc.head = (fdc.params[0] & 4) ? 1 : 0;
fdc.head = 0;
timer_disable(&fdc.timer);
time = fdd_seek(fdc.drive, fdc.params[1] - fdc.track[fdc.drive]);
if (time)