Initial commit

This commit is contained in:
Lauchmelder 2021-10-20 22:39:29 +02:00
commit 5aa8a64871
11 changed files with 243 additions and 0 deletions

18
NES Emulator/cartridge.h Normal file
View file

@ -0,0 +1,18 @@
#ifndef _CARTRIDGE_H_
#define _CARTRIDGE_H_
#include "types.h"
struct Bus;
struct Cartridge
{
Byte* memory;
struct Bus* bus;
};
struct Cartridge* createCartridge(struct Bus* parent, const char* filepath);
void destroyCartridge(struct Cartridge* cartridge);
#endif //_CARTRIDGE_H_