src/memory/header.cc
/*
 * Decodes an NES 2.0 header into the header structure.
 *
 * Assumes the file header is non-null, 16 bytes long, and in the
 * NES 2.0 format.
 * Assumes the structure is non-null.
 */
Decodes an NES 2.0 header into the header structure.
Assumes the file header is non-null, 16 bytes long, and in the
NES 2.0 format.
Assumes the structure is non-null.
Decodes an NES 2 . 0 header into the header structure . Assumes the file header is non - null 16 bytes long and in the NES 2 . 0 format . Assumes the structure is non - null .
static void DecodeNes2(RomHeader *header, char *file_header) {
  fprintf(stderr,
          "Warning: NES 2.0 headers are not implemented. Decoding as INES\n");
  header->header_type = INES;
  DecodeInes(header, file_header);
  return;
}
static void DecodeNes2 ( RomHeader * header , char * file_header ) { fprintf ( stderr , " \n " ) ; header -> header_type = INES ; DecodeInes ( header , file_header ) ; return ; }
Decodes an NES 2.0 header into the header structure.
Decodes an NES 2 . 0 header into the header structure .
// TODO: Implement NES 2.0 header decoding.