mirror of https://github.com/mlaux/gb6.git
17 lines
191 B
C
17 lines
191 B
C
|
#ifndef _ROM_H
|
||
|
#define _ROM_H
|
||
|
|
||
|
#include "types.h"
|
||
|
|
||
|
struct rom {
|
||
|
int type;
|
||
|
u8 *data;
|
||
|
};
|
||
|
|
||
|
|
||
|
int rom_load(struct rom *rom, const char *filename);
|
||
|
|
||
|
void rom_free(struct rom *rom);
|
||
|
|
||
|
#endif
|