diff --git a/code_templates/nsp_dumper.c b/code_templates/nsp_dumper.c index 3c797b6..8712623 100644 --- a/code_templates/nsp_dumper.c +++ b/code_templates/nsp_dumper.c @@ -918,7 +918,7 @@ int main(int argc, char *argv[]) if (error || menu >= 3) { consolePrint("press any button to continue\n"); - utilsWaitForButtonPress(KEY_NONE); + utilsWaitForButtonPress(KEY_ANY); menu--; } else { selected_idx = scroll = 0; @@ -995,7 +995,7 @@ out2: if (menu != UINT32_MAX) { consolePrint("press any button to exit\n"); - utilsWaitForButtonPress(KEY_NONE); + utilsWaitForButtonPress(KEY_ANY); } if (app_metadata) free(app_metadata); diff --git a/code_templates/system_title_dumper.c b/code_templates/system_title_dumper.c index 84053a6..31702dd 100644 --- a/code_templates/system_title_dumper.c +++ b/code_templates/system_title_dumper.c @@ -370,7 +370,7 @@ int main(int argc, char *argv[]) if (error || menu >= 3) { consolePrint("press any button to continue\n"); - utilsWaitForButtonPress(KEY_NONE); + utilsWaitForButtonPress(KEY_ANY); menu--; } else { selected_idx = scroll = 0; @@ -433,7 +433,7 @@ out2: if (menu != UINT32_MAX) { consolePrint("press any button to exit\n"); - utilsWaitForButtonPress(KEY_NONE); + utilsWaitForButtonPress(KEY_ANY); } if (nca_ctx) free(nca_ctx); diff --git a/code_templates/usb_gc_dumper.c b/code_templates/usb_gc_dumper.c index 0a15f80..9fe10ed 100644 --- a/code_templates/usb_gc_dumper.c +++ b/code_templates/usb_gc_dumper.c @@ -419,7 +419,7 @@ end: utilsChangeHomeButtonBlockStatus(false); consolePrint("press any button to continue"); - utilsWaitForButtonPress(KEY_NONE); + utilsWaitForButtonPress(KEY_ANY); return success; } @@ -457,7 +457,7 @@ end: utilsChangeHomeButtonBlockStatus(false); consolePrint("press any button to continue"); - utilsWaitForButtonPress(KEY_NONE); + utilsWaitForButtonPress(KEY_ANY); return success; } @@ -624,7 +624,7 @@ end: utilsChangeHomeButtonBlockStatus(false); consolePrint("press any button to continue"); - utilsWaitForButtonPress(KEY_NONE); + utilsWaitForButtonPress(KEY_ANY); return success; } diff --git a/code_templates/usb_romfs_dumper.c b/code_templates/usb_romfs_dumper.c index d08c1c0..6de9e6c 100644 --- a/code_templates/usb_romfs_dumper.c +++ b/code_templates/usb_romfs_dumper.c @@ -635,7 +635,7 @@ out2: if (exit_prompt) { consolePrint("press any button to exit\n"); - utilsWaitForButtonPress(KEY_NONE); + utilsWaitForButtonPress(KEY_ANY); } romfsFreeContext(&romfs_ctx); diff --git a/code_templates/xml_generator.c b/code_templates/xml_generator.c index 11415e9..9c64b11 100644 --- a/code_templates/xml_generator.c +++ b/code_templates/xml_generator.c @@ -388,7 +388,7 @@ out2: if (exit_prompt) { consolePrint("press any button to exit\n"); - utilsWaitForButtonPress(KEY_NONE); + utilsWaitForButtonPress(KEY_ANY); } if (legal_info_ctx) diff --git a/source/utils.h b/source/utils.h index aa095d1..e7e9144 100644 --- a/source/utils.h +++ b/source/utils.h @@ -58,7 +58,7 @@ #define BIS_SYSTEM_PARTITION_MOUNT_NAME "sys:" -#define KEY_NONE 0 +#define KEY_ANY 0