From fd4fd14ee72844eb4ef2ffdcf3878fd87b5429c2 Mon Sep 17 00:00:00 2001 From: aspargas2 Date: Thu, 11 Jun 2020 12:41:37 -0400 Subject: [PATCH] allow deletion of files in virtual BDRI drives --- 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 39b888f..fe9b658 100644 --- a/arm9/source/godmode.c +++ b/arm9/source/godmode.c @@ -2438,7 +2438,7 @@ u32 GodMode(int entrypoint) { ClearScreenF(false, true, COLOR_STD_BG); } } else if (!switched) { // standard unswitched command set - if ((curr_drvtype & DRV_VIRTUAL) && (pad_state & BUTTON_X)) { + if ((curr_drvtype & DRV_VIRTUAL) && (pad_state & BUTTON_X) && (*current_path != 'T')) { ShowPrompt(false, "Not allowed in virtual path"); } else if (pad_state & BUTTON_X) { // delete a file u32 n_marked = 0;