Abstraction layer for dealing with files on retro systems.
More...
|
|
#define | MAUG_PATH_SZ_MAX 40 |
| | Maximum size allocated for asset paths.
|
| |
|
#define | MFILE_READ_FLAG_LSBF 0x01 |
| | Flag for mfile_read_int_t() indicating integer should always be read least significant byte first.
|
| |
|
#define | MFILE_READ_FLAG_MSBF 0x01 |
| | Flag for mfile_read_int_t() indicating integer should always be read most significant byte first.
|
| |
|
#define | MFILE_ASSIGN_FLAG_TRIM_EXT 0x01 |
| |
|
#define | MFILE_READ_TRACE_LVL 0 |
| |
|
#define | MFILE_WRITE_TRACE_LVL 0 |
| |
|
#define | MFILE_SEEK_TRACE_LVL 0 |
| |
|
#define | MFILE_CONTENTS_TRACE_LVL 0 |
| |
|
#define | mfile_get_sz(p_file) ((p_file)->sz) |
| |
Abstraction layer for dealing with files on retro systems.
◆ mfile_open_read()
Open a file and read it into memory or memory-map it.
- Parameters
-
| filename | NULL-terminated path to file to open. |