From 971d7fd72cee8b00f78d82a0c5d6e64beb5ee7b6 Mon Sep 17 00:00:00 2001 From: Pablo Curiel Date: Thu, 20 Aug 2020 23:49:57 -0400 Subject: [PATCH] Silly fix. --- code_templates/threaded_usb_romfs_dumper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code_templates/threaded_usb_romfs_dumper.c b/code_templates/threaded_usb_romfs_dumper.c index e97b7ba..a6f3a04 100644 --- a/code_templates/threaded_usb_romfs_dumper.c +++ b/code_templates/threaded_usb_romfs_dumper.c @@ -473,7 +473,7 @@ int main(int argc, char *argv[]) size_t size = shared_data.data_written; hidScanInput(); - btn_cancel_cur_state = (utilsHidKeysAllDown() & KEY_B); + btn_cancel_cur_state = (utilsHidKeysAllHeld() & KEY_B); if (btn_cancel_cur_state && btn_cancel_cur_state != btn_cancel_prev_state) {