1
0
Fork 0
mirror of https://github.com/DarkMatterCore/nxdumptool.git synced 2024-11-26 12:12:02 +00:00

Rename KEY_NONE definition.

This commit is contained in:
Pablo Curiel 2020-10-22 16:13:00 -04:00
parent 974790944f
commit 7e2aa976b4
6 changed files with 10 additions and 10 deletions

View file

@ -918,7 +918,7 @@ int main(int argc, char *argv[])
if (error || menu >= 3) if (error || menu >= 3)
{ {
consolePrint("press any button to continue\n"); consolePrint("press any button to continue\n");
utilsWaitForButtonPress(KEY_NONE); utilsWaitForButtonPress(KEY_ANY);
menu--; menu--;
} else { } else {
selected_idx = scroll = 0; selected_idx = scroll = 0;
@ -995,7 +995,7 @@ out2:
if (menu != UINT32_MAX) if (menu != UINT32_MAX)
{ {
consolePrint("press any button to exit\n"); consolePrint("press any button to exit\n");
utilsWaitForButtonPress(KEY_NONE); utilsWaitForButtonPress(KEY_ANY);
} }
if (app_metadata) free(app_metadata); if (app_metadata) free(app_metadata);

View file

@ -370,7 +370,7 @@ int main(int argc, char *argv[])
if (error || menu >= 3) if (error || menu >= 3)
{ {
consolePrint("press any button to continue\n"); consolePrint("press any button to continue\n");
utilsWaitForButtonPress(KEY_NONE); utilsWaitForButtonPress(KEY_ANY);
menu--; menu--;
} else { } else {
selected_idx = scroll = 0; selected_idx = scroll = 0;
@ -433,7 +433,7 @@ out2:
if (menu != UINT32_MAX) if (menu != UINT32_MAX)
{ {
consolePrint("press any button to exit\n"); consolePrint("press any button to exit\n");
utilsWaitForButtonPress(KEY_NONE); utilsWaitForButtonPress(KEY_ANY);
} }
if (nca_ctx) free(nca_ctx); if (nca_ctx) free(nca_ctx);

View file

@ -419,7 +419,7 @@ end:
utilsChangeHomeButtonBlockStatus(false); utilsChangeHomeButtonBlockStatus(false);
consolePrint("press any button to continue"); consolePrint("press any button to continue");
utilsWaitForButtonPress(KEY_NONE); utilsWaitForButtonPress(KEY_ANY);
return success; return success;
} }
@ -457,7 +457,7 @@ end:
utilsChangeHomeButtonBlockStatus(false); utilsChangeHomeButtonBlockStatus(false);
consolePrint("press any button to continue"); consolePrint("press any button to continue");
utilsWaitForButtonPress(KEY_NONE); utilsWaitForButtonPress(KEY_ANY);
return success; return success;
} }
@ -624,7 +624,7 @@ end:
utilsChangeHomeButtonBlockStatus(false); utilsChangeHomeButtonBlockStatus(false);
consolePrint("press any button to continue"); consolePrint("press any button to continue");
utilsWaitForButtonPress(KEY_NONE); utilsWaitForButtonPress(KEY_ANY);
return success; return success;
} }

View file

@ -635,7 +635,7 @@ out2:
if (exit_prompt) if (exit_prompt)
{ {
consolePrint("press any button to exit\n"); consolePrint("press any button to exit\n");
utilsWaitForButtonPress(KEY_NONE); utilsWaitForButtonPress(KEY_ANY);
} }
romfsFreeContext(&romfs_ctx); romfsFreeContext(&romfs_ctx);

View file

@ -388,7 +388,7 @@ out2:
if (exit_prompt) if (exit_prompt)
{ {
consolePrint("press any button to exit\n"); consolePrint("press any button to exit\n");
utilsWaitForButtonPress(KEY_NONE); utilsWaitForButtonPress(KEY_ANY);
} }
if (legal_info_ctx) if (legal_info_ctx)

View file

@ -58,7 +58,7 @@
#define BIS_SYSTEM_PARTITION_MOUNT_NAME "sys:" #define BIS_SYSTEM_PARTITION_MOUNT_NAME "sys:"
#define KEY_NONE 0 #define KEY_ANY 0