started opcodes
This commit is contained in:
parent
4b22287ad0
commit
458500bd59
8 changed files with 240 additions and 5 deletions
|
@ -40,10 +40,8 @@ struct Cartridge* createCartridge(struct Bus* parent, const char* filepath)
|
|||
exit(1);
|
||||
}
|
||||
|
||||
// Open ROM
|
||||
FILE* fp = fopen(filepath, "rb");
|
||||
|
||||
// readCartridge header
|
||||
struct INES_Header header;
|
||||
fread(&header, sizeof(header), 1, fp);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue