add debug log in Ventoy2Disk.exe

pull/300/head
longpanda 4 years ago
parent 039e68400d
commit 23986d742d

Binary file not shown.

@ -818,13 +818,21 @@ int GetVentoyVerInPhyDrive(const PHY_DRIVE_INFO *pDriveInfo, UINT64 Part2StartSe
if (0 == fl_attach_media(VentoyFatDiskRead, NULL))
{
Log("attach media success...");
rc = GetVentoyVersionFromFatFile(VerBuf, BufLen);
}
else
{
Log("attach media failed...");
rc = 1;
}
Log("GetVentoyVerInPhyDrive rc=%d...", rc);
if (rc == 0)
{
Log("VentoyVerInPhyDrive %d is <%s>...", pDriveInfo->PhyDrive, VerBuf);
}
fl_shutdown();
CHECK_CLOSE_HANDLE(hDrive);

Loading…
Cancel
Save