Swadge 2024 2.0.0
APIs to develop games for the Magfest Swadge
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
fs_txt.h
Go to the documentation of this file.
1
26
27#ifndef _FS_TXT_H_
28#define _FS_TXT_H_
29
30#include "cnfs_image.h"
31
32char* loadTxt(cnfsFileIdx_t fIdx, bool spiRam);
33void freeTxt(char* txtStr);
34
35#endif
char * loadTxt(cnfsFileIdx_t fIdx, bool spiRam)
Load a TXT from ROM to RAM. TXTs placed in the assets_image folder before compilation will be automat...
Definition fs_txt.c:30
void freeTxt(char *txtStr)
Free an allocated TXT string.
Definition fs_txt.c:49