mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-02-19 19:30:42 +00:00
Always write /dev/poll/cdrom to preferences
This commit is contained in:
parent
85bcff03d4
commit
4ba1c48ec8
@ -417,6 +417,8 @@ static NSString *makeRelativeIfNecessary(NSString *path)
|
|||||||
PrefsAddString([d isCDROM] ? "cdrom" : "disk", [[d path] UTF8String]);
|
PrefsAddString([d isCDROM] ? "cdrom" : "disk", [[d path] UTF8String]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
PrefsAddString("cdrom", "/dev/poll/cdrom");
|
||||||
|
|
||||||
PrefsReplaceInt32("bootdriver", ([bootFrom indexOfSelectedItem] == 1 ? CDROMRefNum : 0));
|
PrefsReplaceInt32("bootdriver", ([bootFrom indexOfSelectedItem] == 1 ? CDROMRefNum : 0));
|
||||||
PrefsReplaceString("rom", [[romFile stringValue] UTF8String]);
|
PrefsReplaceString("rom", [[romFile stringValue] UTF8String]);
|
||||||
PrefsReplaceString("extfs", [[unixRoot stringValue] UTF8String]);
|
PrefsReplaceString("extfs", [[unixRoot stringValue] UTF8String]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user