Add path as arg to readfolder();

This commit is contained in:
Such Meme, Many Skill
2019-08-15 00:42:41 +02:00
parent 785303fc15
commit 4d56912384
3 changed files with 15 additions and 13 deletions

View File

@@ -24,11 +24,13 @@ void meme_main(){
sdmmc_storage_set_mmc_partition(&storage, 1);
//f_rename("sd:/yeet.txt", "sd:/yote.txt");
char *itemsinfolder[250];
unsigned int muhbits[250];
int folderamount = 0;
folderamount = readfolder(itemsinfolder, muhbits);
char path[100] = "sd:/";
folderamount = readfolder(itemsinfolder, muhbits, path);
int i = 0;
gfx_printf("%d", folderamount);