mirror of
https://github.com/86Box/86Box.git
synced 2026-02-21 17:15:32 -07:00
Config migration for the one surviving Panasonic FDD sound set
This commit is contained in:
11
src/config.c
11
src/config.c
@@ -1511,11 +1511,14 @@ load_floppy_and_cdrom_drives(void)
|
||||
sprintf(temp, "fdd_%02i_check_bpb", c + 1);
|
||||
ini_section_delete_var(cat, temp);
|
||||
}
|
||||
sprintf(temp, "fdd_%02i_audio", c + 1);
|
||||
sprintf(temp, "fdd_%02i_audio", c + 1);
|
||||
#ifndef DISABLE_FDD_AUDIO
|
||||
p = ini_section_get_string(cat, temp, "none");
|
||||
int prof = fdd_audio_get_profile_by_internal_name(p);
|
||||
fdd_set_audio_profile(c, prof);
|
||||
p = ini_section_get_string(cat, temp, "none");
|
||||
if (!strcmp(p, "panasonic"))
|
||||
d = fdd_audio_get_profile_by_internal_name("panasonic_ju4755_40t");
|
||||
else
|
||||
d = fdd_audio_get_profile_by_internal_name(p);
|
||||
fdd_set_audio_profile(c, d);
|
||||
#else
|
||||
fdd_set_audio_profile(c, 0);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user