Ported the cassette emulation from PCE, closes #835.

This commit is contained in:
OBattler
2021-07-27 06:12:09 +02:00
parent f79b11cd9a
commit 827065c0bc
19 changed files with 1274 additions and 75 deletions

View File

@@ -512,7 +512,7 @@ fdd_load(int drive, char *fn)
drive_empty[drive] = 1;
fdd_set_head(drive, 0);
memset(floppyfns[drive], 0, sizeof(floppyfns[drive]));
ui_sb_update_icon_state(drive, 1);
ui_sb_update_icon_state(SB_FLOPPY | drive, 1);
}
@@ -538,7 +538,7 @@ fdd_close(int drive)
drives[drive].byteperiod = NULL;
drives[drive].stop = NULL;
d86f_destroy(drive);
ui_sb_update_icon_state(drive, 1);
ui_sb_update_icon_state(SB_FLOPPY | drive, 1);
}