Skip to content

Commit 9642c58

Browse files
committed
config path is 3ds-hbmenu
1 parent 5295970 commit 9642c58

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

source/ui/menu.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ char *menuGetRootBasePath(void) {
3737
}
3838

3939
void menuStartupPath(void) {
40-
char temp[PATH_MAX + 28];
40+
char temp[PATH_MAX + 29];
4141

4242
#if defined(__3DS__)
4343
strncpy(rootPathBase, "sdmc:", sizeof(rootPathBase) - 1);
@@ -57,22 +57,22 @@ void menuStartupPath(void) {
5757
snprintf(temp, sizeof(temp) - 1, "%s/config", rootPathBase);
5858
mkdir(temp, 0755);
5959

60-
/* create /config/hbmenu directory */
61-
snprintf(temp, sizeof(temp) - 1, "%s/config/hbmenu", rootPathBase);
60+
/* create /config/3ds-hbmenu directory */
61+
snprintf(temp, sizeof(temp) - 1, "%s/config/3ds-hbmenu", rootPathBase);
6262
mkdir(temp, 0755);
6363

64-
snprintf(temp, sizeof(temp) - 1, "%s/config/hbmenu/fileassoc", rootPathBase);
64+
snprintf(temp, sizeof(temp) - 1, "%s/config/3ds-hbmenu/fileassoc", rootPathBase);
6565

66-
/* create /config/hbmenu/fileassoc */
66+
/* create /config/3ds-hbmenu/fileassoc */
6767
if (stat(temp, &fileStat) == -1)
6868
mkdir(temp, 0755);
6969
}
7070

7171
void menuLoadFileAssoc(void) {
72-
char temp[PATH_MAX + 28];
72+
char temp[PATH_MAX + 29];
7373

7474
memset(temp, 0, sizeof(temp) - 1);
75-
snprintf(temp, sizeof(temp) - 1, "%s/config/hbmenu/fileassoc", rootPathBase);
75+
snprintf(temp, sizeof(temp) - 1, "%s/config/3ds-hbmenu/fileassoc", rootPathBase);
7676

7777
menuFileAssocScan(temp);
7878
}

0 commit comments

Comments
 (0)