maug
Quick and dirty C mini-augmentation library.
RetroFile Byte Order

Flags controlling byte order for read operations.

Collaboration diagram for RetroFile Byte Order:

Flags controlling byte order for read operations.

If neither of these flags are specified, mfile_read_int_t() operations will default to the native byte order of the current system.

Note
These flags are both the same flag, essentially, so they are set to 0x01. This is so that we can check for their presence vs the current platform endianness. Essentially they are ignored if the requested endianness matches the current platform's default endianness. Please see mfile_file_read_int() for the implementation.