From a9f3b1d6ea9174533c541ea048aeb1f4c2d3c189 Mon Sep 17 00:00:00 2001 From: d0k3 Date: Sat, 29 Oct 2016 17:14:24 +0200 Subject: [PATCH] Handle /Nintendo 3DS folder deletion --- source/godmode.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/godmode.c b/source/godmode.c index 3787ae3..0b2a062 100644 --- a/source/godmode.c +++ b/source/godmode.c @@ -566,6 +566,8 @@ u32 GodMode() { // basic sanity checking if (!current_dir->n_entries) { // current dir is empty -> revert to root *current_path = '\0'; + DeinitExtFS(); // deinit and... + InitExtFS(); // reinitialize extended file system GetDirContents(current_dir, current_path); cursor = 0; if (!current_dir->n_entries) { // should not happen, if it does fail gracefully