PancakeNESEmu
A homebrewed NES Emulator written in C
Loading...
Searching...
No Matches
rom_metadata.h
Go to the documentation of this file.
1
#ifndef ROM_METADATA
2
#define ROM_METADATA
3
4
#include "
core/types.h
"
5
6
typedef
unsigned
int
bytes_string
;
7
12
typedef
struct
{
13
byte
prg_size
;
14
byte
chr_size
;
15
byte
flag_MMBT
;
16
byte
flag_MVSP2
;
17
byte
flag_PRAM
;
18
byte
flag_TVSYS
;
19
byte
flag_TVSPRAM
;
20
bytes_string
ripper_name
;
21
}
INES_META
;
22
28
typedef
struct
{
29
unsigned
char
PLACEHOLDER
;
30
}
NES_TWO_META
;
31
32
#endif
bytes_string
unsigned int bytes_string
A type that denotes an ASCII string of size 4.
Definition
rom_metadata.h:6
INES_META
A structure that represents every files headers of the INES ROM file format.
Definition
rom_metadata.h:12
INES_META::flag_MMBT
byte flag_MMBT
Flag 6: Mapper, Mirroring, Battery, Trainer.
Definition
rom_metadata.h:15
INES_META::chr_size
byte chr_size
CHR-ROM Size in 8 kB units (Bytes 5 in the INES format)
Definition
rom_metadata.h:14
INES_META::ripper_name
bytes_string ripper_name
Unused padding/ripper name.
Definition
rom_metadata.h:20
INES_META::prg_size
byte prg_size
PRG-ROM Size in 16 kB units (Bytes 4 in the INES format)
Definition
rom_metadata.h:13
INES_META::flag_TVSYS
byte flag_TVSYS
Flag 9: TV System.
Definition
rom_metadata.h:18
INES_META::flag_TVSPRAM
byte flag_TVSPRAM
Flag 10: TV System, PRG-RAM presence.
Definition
rom_metadata.h:19
INES_META::flag_MVSP2
byte flag_MVSP2
Flag 7: Mapper, VS/Playchoice, NES 2.0.
Definition
rom_metadata.h:16
INES_META::flag_PRAM
byte flag_PRAM
Flag 8: PRG-RAM.
Definition
rom_metadata.h:17
NES_TWO_META
A structure that represents every files headers of the INES ROM file format.
Definition
rom_metadata.h:28
NES_TWO_META::PLACEHOLDER
unsigned char PLACEHOLDER
Definition
rom_metadata.h:29
types.h
include
rom_reader
rom_metadata.h
Generated by
1.12.0