mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-20 09:55:11 -04:00
disable MS-DOS creation for Windows 10 or later
* Microsoft removed the diskcopy.dll that contained the MS-DOS floppy image Not a big loss, since we have FreeDOS... ;) * Closes #545 * Also apply a long overdue refactoring for boot and target types * Also update the README to add an icon
This commit is contained in:
parent
14b8ab6a43
commit
3ccae1d2e2
7 changed files with 179 additions and 166 deletions
|
@ -413,9 +413,9 @@ BOOL ExtractFreeDOS(const char* path)
|
|||
BOOL ExtractDOS(const char* path)
|
||||
{
|
||||
switch(ComboBox_GetItemData(hBootType, ComboBox_GetCurSel(hBootType))) {
|
||||
case DT_WINME:
|
||||
case BT_MSDOS:
|
||||
return ExtractMSDOS(path);
|
||||
case DT_FREEDOS:
|
||||
case BT_FREEDOS:
|
||||
return ExtractFreeDOS(path);
|
||||
}
|
||||
return FALSE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue