Defines | Functions

load_ines.c File Reference

#include "load_ines.h"
#include <string.h>
#include <stdlib.h>
#include <assert.h>
Include dependency graph for load_ines.c:

Go to the source code of this file.

Defines

#define SAFE_FREE(x)   do { free(x); (x) = 0; } while(0)

Functions

UNIF_RETURN_CODE write_file_INES (const char *filename, const ines_cart_t *cart)
UNIF_RETURN_CODE load_ptr_INES (const uint8_t *rom, ines_cart_t *cart)
UNIF_RETURN_CODE load_file_INES (const char *filename, ines_cart_t *cart)
UNIF_RETURN_CODE free_file_INES (ines_cart_t *cart)

Define Documentation

#define SAFE_FREE (   x )    do { free(x); (x) = 0; } while(0)

Definition at line 10 of file load_ines.c.


Function Documentation

UNIF_RETURN_CODE free_file_INES ( ines_cart_t cart )

Definition at line 179 of file load_ines.c.

Here is the caller graph for this function:

UNIF_RETURN_CODE load_file_INES ( const char *  filename,
ines_cart_t cart 
)

Definition at line 119 of file load_ines.c.

Here is the call graph for this function:

Here is the caller graph for this function:

UNIF_RETURN_CODE load_ptr_INES ( const uint8_t *  rom,
ines_cart_t cart 
)

Definition at line 62 of file load_ines.c.

Here is the call graph for this function:

UNIF_RETURN_CODE write_file_INES ( const char *  filename,
const ines_cart_t cart 
)

Definition at line 15 of file load_ines.c.

Here is the call graph for this function:

 All Data Structures Files Functions Variables Enumerations Enumerator Defines