static VOID dump_status(Config *config, CHAR16 *loaded_image_path) {
UINTN index;
+ EFI_INPUT_KEY key;
UINTN i;
CHAR16 *s;
CHAR8 *b;
Print(L"\n--- press key ---\n\n");
uefi_call_wrapper(BS->WaitForEvent, 3, 1, &ST->ConIn->WaitForKey, &index);
- uefi_call_wrapper(ST->ConIn->Reset, 2, ST->ConIn, FALSE);
+ uefi_call_wrapper(ST->ConIn->ReadKeyStroke, 2, ST->ConIn, &key);
for (i = 0; i < config->entry_count; i++) {
ConfigEntry *entry;
Print(L"internal call yes\n");
Print(L"\n--- press key ---\n\n");
uefi_call_wrapper(BS->WaitForEvent, 3, 1, &ST->ConIn->WaitForKey, &index);
- uefi_call_wrapper(ST->ConIn->Reset, 2, ST->ConIn, FALSE);
+ uefi_call_wrapper(ST->ConIn->ReadKeyStroke, 2, ST->ConIn, &key);
}
uefi_call_wrapper(ST->ConOut->ClearScreen, 1, ST->ConOut);