mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-19 01:15:12 -04:00
[sl] syslinux support (MinGW)
* also fixes memory leak in syslinux.c * closes #31
This commit is contained in:
parent
acf7d072b0
commit
b6252a913a
17 changed files with 916 additions and 39 deletions
|
@ -523,10 +523,10 @@ void __cdecl FormatThread(void* param)
|
|||
goto out;
|
||||
}
|
||||
break;
|
||||
// SysLinux requires patching of the PBR after the files have been extracted
|
||||
// Syslinux requires patching of the PBR after the files have been extracted
|
||||
case DT_SYSLINUX:
|
||||
if (!InstallSysLinux(num, drive_name)) {
|
||||
FormatStatus = ERROR_SEVERITY_ERROR|FAC(FACILITY_STORAGE)|ERROR_CANNOT_COPY;
|
||||
if (!InstallSyslinux(num, drive_name)) {
|
||||
FormatStatus = ERROR_SEVERITY_ERROR|FAC(FACILITY_STORAGE)|ERROR_INSTALL_FAILURE;
|
||||
goto out;
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue