parent
4539b8e78d
commit
6544353245
@ -257,6 +257,12 @@ void menuStartup() {
|
|||||||
#endif
|
#endif
|
||||||
snprintf(rootPath, sizeof(rootPath)-1, "%s%s%s", tmp_path, DIRECTORY_SEPARATOR, "switch");
|
snprintf(rootPath, sizeof(rootPath)-1, "%s%s%s", tmp_path, DIRECTORY_SEPARATOR, "switch");
|
||||||
|
|
||||||
|
struct stat st = {0};
|
||||||
|
|
||||||
|
if (stat(rootPath, &st) == -1) {
|
||||||
|
mkdir(rootPath, 0755);
|
||||||
|
}
|
||||||
|
|
||||||
menuScan(rootPath);
|
menuScan(rootPath);
|
||||||
|
|
||||||
folder_icon_small = downscaleImg(folder_icon_bin, 256, 256, 140, 140, IMAGE_MODE_RGB24);
|
folder_icon_small = downscaleImg(folder_icon_bin, 256, 256, 140, 140, IMAGE_MODE_RGB24);
|
||||||
|
Loading…
Reference in New Issue
Block a user