From 2dbdeff0fdc2d34765e990fc702197e3bbdb0160 Mon Sep 17 00:00:00 2001 From: d0k3 Date: Thu, 23 Mar 2017 12:50:16 +0100 Subject: [PATCH] Fix #31 --- source/godmode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/godmode.c b/source/godmode.c index 80d458526..49ba35ce4 100644 --- a/source/godmode.c +++ b/source/godmode.c @@ -701,7 +701,7 @@ u32 FileHandlerMenu(char* current_path, u32* cursor, u32* scroll, DirStruct* cur (filetype & BIN_LAUNCH) ? "Launch as arm9 payload" : "???"; optionstr[hexviewer-1] = "Show in Hexeditor"; optionstr[calcsha-1] = "Calculate SHA-256"; - optionstr[calccmac-1] = "Calculate CMAC"; + if (calccmac > 0) optionstr[calccmac-1] = "Calculate CMAC"; if (copystd > 0) optionstr[copystd-1] = "Copy to " OUTPUT_PATH; if (inject > 0) optionstr[inject-1] = "Inject data @offset"; if (searchdrv > 0) optionstr[searchdrv-1] = "Open containing folder";