mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-20 09:55:11 -04:00
[sl] syslinux support (EXPERIMENTAL)
* MS platforms only (*BREAKS* MinGW)
This commit is contained in:
parent
130afd8294
commit
acf7d072b0
43 changed files with 3063 additions and 57 deletions
11
src/dos.c
11
src/dos.c
|
@ -25,6 +25,7 @@
|
|||
#endif
|
||||
|
||||
#include <windows.h>
|
||||
#include <windowsx.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
|
@ -428,9 +429,13 @@ BOOL ExtractFreeDOS(const char* path)
|
|||
return SetDOSLocale(path, TRUE);
|
||||
}
|
||||
|
||||
BOOL ExtractDOS(const char* path, int dos_type)
|
||||
BOOL ExtractDOS(const char* path)
|
||||
{
|
||||
if (dos_type == DT_WINME)
|
||||
switch(ComboBox_GetItemData(hDOSType, ComboBox_GetCurSel(hDOSType))) {
|
||||
case DT_WINME:
|
||||
return ExtractMSDOS(path);
|
||||
return ExtractFreeDOS(path);
|
||||
case DT_FREEDOS:
|
||||
return ExtractFreeDOS(path);
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue