Fixed cassette ejecting and made write protection actually work, closes #1564.

This commit is contained in:
OBattler
2021-07-29 05:36:10 +02:00
parent f52a688713
commit 026bed4e53
2 changed files with 6 additions and 3 deletions

View File

@@ -64,6 +64,7 @@ void
cassette_eject(void)
{
pc_cas_set_fname(cassette, NULL);
memset(cassette_fname, 0x00, sizeof(cassette_fname));
ui_sb_update_icon_state(SB_CASSETTE, 1);
media_menu_update_cassette();
ui_sb_update_tip(SB_CASSETTE);