From c70599977adb8a9b227eeaecfde310b6400773d8 Mon Sep 17 00:00:00 2001 From: d0k3 Date: Mon, 19 Feb 2018 01:58:51 +0100 Subject: [PATCH] File handler: fix output path detection --- arm9/source/godmode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arm9/source/godmode.c b/arm9/source/godmode.c index 57ef916..3985bf1 100644 --- a/arm9/source/godmode.c +++ b/arm9/source/godmode.c @@ -997,7 +997,7 @@ u32 FileHandlerMenu(char* current_path, u32* cursor, u32* scroll, PaneData** pan u64 filetype = IdentifyFileType(file_path); u32 drvtype = DriveType(file_path); - bool in_output_path = (strncmp(current_path, OUTPUT_PATH, 256) == 0); + bool in_output_path = (strncasecmp(current_path, OUTPUT_PATH, 256) == 0); // don't handle TMDs inside the game drive, won't work properly anyways if ((filetype & GAME_TMD) && (drvtype & DRV_GAME)) filetype &= ~GAME_TMD;