To fossilize a file means to embed any file inside the source code but being visible from the File System. It is very useful for adding "built in configurations", logos, ...
The first step is to convert our file to C source code using:
It will generate the file logo_bmp.c that we must include in our project. And finally, we include it in the ROM media directory.
const ROM_FILE* romFileTable =
Once the file is in our File System, we can access to it. Keep in mind that these files are read only.
EFILE* pMyLogo = efOpen("rom/logo.bmp", "r");