Moved floppy writeback call to fdc_poll_readwrite_finish(), in order to have the track written less often (no need to write it on every sector).

This commit is contained in:
OBattler
2020-06-29 02:19:05 +02:00
parent 96228bc41d
commit 616a8501b5
4 changed files with 11 additions and 1 deletions

View File

@@ -719,3 +719,10 @@ fdd_init(void)
fdd_load(2, floppyfns[2]);
fdd_load(3, floppyfns[3]);
}
void
fdd_do_writeback(int drive)
{
d86f_handler[drive].writeback(drive);
}