From 8c439a1bec5963edf8008cfd8dbda6f713f2d547 Mon Sep 17 00:00:00 2001 From: OBattler Date: Wed, 5 Oct 2016 01:42:11 +0200 Subject: [PATCH] Fixed a mistake with the three new FDC commands. --- src/fdc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/fdc.c b/src/fdc.c index f545857a6..15daf2f20 100644 --- a/src/fdc.c +++ b/src/fdc.c @@ -1282,9 +1282,12 @@ void fdc_callback() switch (discint) { case 5: + case 9: disc_writesector(fdc.drive, fdc.sector, fdc.rw_track, fdc.head, fdc.rate, fdc.params[4]); break; case 6: + case 0xC: + case 0x16: disc_readsector(fdc.drive, fdc.sector, fdc.rw_track, fdc.head, fdc.rate, fdc.params[4]); break; }