Initial commit
This commit is contained in:
commit
5aa8a64871
11 changed files with 243 additions and 0 deletions
18
NES Emulator/cartridge.h
Normal file
18
NES Emulator/cartridge.h
Normal 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_
|
Loading…
Add table
Add a link
Reference in a new issue