mirror of
https://github.com/ventoy/Ventoy.git
synced 2024-12-25 22:55:58 -05:00
add debug log in Ventoy2Disk.exe
This commit is contained in:
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…
Reference in New Issue
Block a user