Use ReadKey in the confirmation before exiting

This commit is contained in:
Lauri Kenttä
2016-05-14 11:44:57 +03:00
parent 8ed61047dd
commit c49f0f6cbc

View File

@@ -296,7 +296,7 @@ EFI_STATUS EFIAPI EfiMain(EFI_HANDLE image_handle, EFI_SYSTEM_TABLE *ST_) {
fail: {
Print(L"HackBGRT has failed. Use parameter debug=1 for details.\nPress any key to exit.\n");
WaitKey();
ReadKey();
return 1;
}
}