From baac8dc2fbec4171fa5382afb39cc0d3cf50a411 Mon Sep 17 00:00:00 2001 From: "Such Meme, Many Skill" Date: Sat, 2 May 2020 21:56:49 +0200 Subject: [PATCH] Fix deadlock in hexview thanks huhen --- source/tegraexplorer/fs/filemenu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/tegraexplorer/fs/filemenu.c b/source/tegraexplorer/fs/filemenu.c index fa85ef5..e79fcd3 100644 --- a/source/tegraexplorer/fs/filemenu.c +++ b/source/tegraexplorer/fs/filemenu.c @@ -42,7 +42,8 @@ void viewbytes(char *path){ int res; Inputs *input = hidRead(); - while (input->buttons & (KEY_POW | KEY_B)); + while (input->buttons & (KEY_POW | KEY_B)) + hidRead(); gfx_clearscreen(); print = malloc (1024);