mirror of
https://github.com/86Box/86Box.git
synced 2026-02-22 09:35:32 -07:00
Add config migration for goldstar CD-ROM drive [skip ci]
This commit is contained in:
@@ -1501,7 +1501,7 @@ load_floppy_and_cdrom_drives(void)
|
||||
sprintf(temp, "cdrom_%02i_type", c + 1);
|
||||
p = ini_section_get_string(cat, temp, cdrom[c].bus_type == CDROM_BUS_MKE ? "cr563" : "86cd");
|
||||
/* TODO: Configuration migration, remove when no longer needed. */
|
||||
int cdrom_type = cdrom_get_from_internal_name(p);
|
||||
int cdrom_type = cdrom_get_from_internal_name(!strcmp(p, "goldstar") ? "goldstar_r560b" : p);
|
||||
if (cdrom_type == -1) {
|
||||
cdrom_type = cdrom_get_from_name(p);
|
||||
if (cdrom_type == -1)
|
||||
|
||||
Reference in New Issue
Block a user