Line 464:
Line 464:
fclose(fp); //close file
fclose(fp); //close file
−
delete result; //free memory
</source>
</source>
You may be wondering how an image gets loaded into a buffer without the sd card. Whenever you want to add a new image, you must copy the image to the source/images folder, and add it to filelist.h:
You may be wondering how an image gets loaded into a buffer without the sd card. Whenever you want to add a new image, you must copy the image to the source/images folder, and add it to filelist.h: