diff --git a/FirmwareGen/MainLogic.cs b/FirmwareGen/MainLogic.cs index cf4d779..22449b1 100644 --- a/FirmwareGen/MainLogic.cs +++ b/FirmwareGen/MainLogic.cs @@ -89,7 +89,7 @@ public static void GenerateWindowsFFU(GenerateWindowsFFUOptions options) version = string.Join(".", version.Split(".").Skip(2)); } - VolumeUtils.RunProgram(Img2Ffu, $@"-i {TmpVHD} -f ""{options.Output}\{deviceProfile.GetFFUFileName(version, "en-us", "PROFESSIONAL")}"" -c 16384 -s 4096 -p ""{string.Join(";", deviceProfile.GetPlatformIDs())}"" -o {options.WindowsVer} -b 4000"); + VolumeUtils.RunProgram(Img2Ffu, $@"-i {TmpVHD} -f ""{options.Output}\{deviceProfile.GetFFUFileName(version, "en-us", "PROFESSIONAL")}"" -c {deviceProfile.GetDiskSectorSize() * 4} -s {deviceProfile.GetDiskSectorSize()} -p ""{string.Join(";", deviceProfile.GetPlatformIDs())}"" -o {options.WindowsVer} -b 4000"); Logging.Log("Deleting Temp VHD"); File.Delete(TmpVHD);