XTLDR Rewrite #7

已合併
belliash 2024-01-09 18:51:04 +01:00 將 184 次代碼提交從 xtldr_rewrite合併至 master
Showing only changes of commit 2864fdd790 - Show all commits

查看文件

@ -145,8 +145,9 @@ BlLoadModule(IN PWCHAR ModuleName)
return Status;
}
/* Read module file from disk and close EFI volume */
/* Read module file from disk and close directory and EFI volume */
Status = BlReadFile(DirHandle, ModuleFileName, &ModuleData, &ModuleSize);
DirHandle->Close(DirHandle);
BlCloseVolume(DiskHandle);
/* Make sure module file was read successfully */