[core] add full extraction support for efi.img

* Also, Solus distro maintainers, I hate you!
This commit is contained in:
Pete Batard 2019-04-04 19:12:48 +01:00
parent dd9f9ce1e9
commit f02fbe3acc
No known key found for this signature in database
GPG key ID: 38E0CF5E69EDD671
13 changed files with 327 additions and 77 deletions

View file

@ -1886,6 +1886,10 @@ static INT_PTR CALLBACK MainCallback(HWND hDlg, UINT message, WPARAM wParam, LPA
case WM_COMMAND:
#ifdef RUFUS_TEST
if (LOWORD(wParam) == IDC_TEST) {
image_path = "C:\\Downloads\\fat.iso";
strcpy(img_report.efi_img_path, "efi.img");
DumpFatDir("C:\\tmp", 0);
image_path = NULL;
break;
}
#endif