fix: delete redundant 0:/common directory, remove dead 0:/home fallback in Music and Video apps

This commit is contained in:
2026-05-28 20:41:16 +02:00
parent e17a8de844
commit 19b255d730
3 changed files with 3 additions and 11 deletions
+1 -1
View File
@@ -1516,7 +1516,7 @@ extern "C" void _start() {
if (montauk::getuser(username, sizeof(username)) > 0 && username[0]) {
snprintf(g.dir_path, sizeof(g.dir_path), "0:/users/%s/Music", username);
} else {
memcpy(g.dir_path, "0:/home", 8);
snprintf(g.dir_path, sizeof(g.dir_path), "0:/users");
}
};
+1 -1
View File
@@ -1260,7 +1260,7 @@ static void set_default_dir() {
snprintf(g.dir_path, sizeof(g.dir_path), "0:/users/%s", username);
}
} else {
montauk::strncpy(g.dir_path, "0:/home", (int)sizeof(g.dir_path));
montauk::strncpy(g.dir_path, "0:/users", (int)sizeof(g.dir_path));
}
}