diff --git a/source/common/common.h b/source/common/common.h index 2162e19..a077195 100644 --- a/source/common/common.h +++ b/source/common/common.h @@ -49,7 +49,7 @@ #endif // GodMode9 version -#define VERSION "1.1.4" +#define VERSION "1.1.5" // Maximum payload size (arbitrary value!) #define SELF_MAX_SIZE (320 * 1024) // 320kB diff --git a/source/fs/fsgame.c b/source/fs/fsgame.c index 3cd35ca..d18cfe7 100644 --- a/source/fs/fsgame.c +++ b/source/fs/fsgame.c @@ -1,11 +1,14 @@ #include "fsgame.h" #include "gameutil.h" +#include "ui.h" void SetDirGoodNames(DirStruct* contents) { char goodname[256]; + ShowProgress(0, 0, ""); for (u32 s = 0; s < contents->n_entries; s++) { DirEntry* entry = &(contents->entry[s]); u32 plen = strnlen(entry->path, 256); + if (!ShowProgress(s+1, contents->n_entries, entry->path)) break; if ((GetGoodName(goodname, entry->path, false) != 0) || (plen + 1 + strnlen(goodname, 256) + 1 > 256)) continue;