16 lines
228 B
C
16 lines
228 B
C
|
//
|
||
|
// Created by william on 12/2/23.
|
||
|
//
|
||
|
|
||
|
#ifndef NESEMULATOR_ROM_H
|
||
|
#define NESEMULATOR_ROM_H
|
||
|
|
||
|
typedef struct {
|
||
|
char* prg_rom;
|
||
|
char* chr_rom;
|
||
|
void* header;
|
||
|
} Rom;
|
||
|
|
||
|
int read_rom(char* path);
|
||
|
|
||
|
#endif //NESEMULATOR_ROM_H
|