#include "unif_types.h"#include <stdio.h>

Go to the source code of this file.
Data Structures | |
| struct | ines_header_t |
Defines | |
| #define | INES_MIRROR 0x01 |
| #define | INES_SRAM 0x02 |
| #define | INES_TRAINER 0x04 |
| #define | INES_4SCREEN 0x08 |
Functions | |
| UNIF_RETURN_CODE | open_INES (const char *filename, FILE **file, UNIF_OPEN_MODE mode) |
| UNIF_RETURN_CODE | close_INES (FILE *file) |
| UNIF_RETURN_CODE | read_header_INES (FILE *file, ines_header_t *header) |
| UNIF_RETURN_CODE | write_header_INES (FILE *file, const ines_header_t *header) |
| UNIF_RETURN_CODE | check_header_INES (const ines_header_t *header) |
| UNIF_RETURN_CODE | read_data_INES (FILE *file, uint8_t **dst, size_t len) |
| #define INES_4SCREEN 0x08 |
Definition at line 27 of file lib_ines.h.
| #define INES_MIRROR 0x01 |
Definition at line 24 of file lib_ines.h.
| #define INES_SRAM 0x02 |
Definition at line 25 of file lib_ines.h.
| #define INES_TRAINER 0x04 |
Definition at line 26 of file lib_ines.h.
| UNIF_RETURN_CODE check_header_INES | ( | const ines_header_t * | header ) |
| UNIF_RETURN_CODE close_INES | ( | FILE * | file ) |
| UNIF_RETURN_CODE open_INES | ( | const char * | filename, |
| FILE ** | file, | ||
| UNIF_OPEN_MODE | mode | ||
| ) |
| UNIF_RETURN_CODE read_data_INES | ( | FILE * | file, |
| uint8_t ** | dst, | ||
| size_t | len | ||
| ) |
| UNIF_RETURN_CODE read_header_INES | ( | FILE * | file, |
| ines_header_t * | header | ||
| ) |
| UNIF_RETURN_CODE write_header_INES | ( | FILE * | file, |
| const ines_header_t * | header | ||
| ) |
1.7.2