Always write /dev/poll/cdrom to preferences

This commit is contained in:
atmaxinger 2018-02-22 10:36:36 +01:00
parent 85bcff03d4
commit 4ba1c48ec8

View File

@ -417,6 +417,8 @@ static NSString *makeRelativeIfNecessary(NSString *path)
PrefsAddString([d isCDROM] ? "cdrom" : "disk", [[d path] UTF8String]);
}
PrefsAddString("cdrom", "/dev/poll/cdrom");
PrefsReplaceInt32("bootdriver", ([bootFrom indexOfSelectedItem] == 1 ? CDROMRefNum : 0));
PrefsReplaceString("rom", [[romFile stringValue] UTF8String]);
PrefsReplaceString("extfs", [[unixRoot stringValue] UTF8String]);