rename rom to z3_rom

This commit is contained in:
scawful
2024-08-08 21:18:22 -04:00
parent 801c978064
commit 200659e5d9
3 changed files with 29 additions and 25 deletions

View File

@@ -15,17 +15,22 @@ void yaze_initialize(void);
void yaze_cleanup(void);
typedef struct rom rom;
struct rom {
typedef struct z3_rom z3_rom;
struct z3_rom {
const char* filename;
const uint8_t* data;
size_t size;
void* impl; // yaze::app::Rom*
};
rom load_rom(const char* filename);
void unload_rom(rom rom);
struct yaze_flags {
int debug;
const char* rom_filename;
z3_rom* rom;
};
z3_rom* yaze_load_rom(const char* filename);
void yaze_unload_rom(z3_rom* rom);
snes_color get_color_from_paletteset(const rom* rom, int palette_set,
int palette, int color);