MKE: Fix channel not being saved (#5845)

This commit is contained in:
Alexander Babikov
2025-07-30 05:47:06 +05:00
committed by GitHub
parent 865584c808
commit bfd84a8be4

View File

@@ -3167,7 +3167,6 @@ save_floppy_and_cdrom_drives(void)
ini_section_delete_var(cat, temp); ini_section_delete_var(cat, temp);
else { else {
ini_section_set_int(cat, temp, cdrom[c].mke_channel); ini_section_set_int(cat, temp, cdrom[c].mke_channel);
ini_section_set_string(cat, temp, tmp2);
} }
sprintf(temp, "cdrom_%02i_ide_channel", c + 1); sprintf(temp, "cdrom_%02i_ide_channel", c + 1);