gbemu/include/cart.h

24 lines
361 B
C
Raw Normal View History

2025-01-30 14:30:19 -07:00
#pragma once
#include <common.h>
typedef struct {
u8 entry[4];
u8 logo[0x30];
char title[16];
u16 new_lic_code;
u8 sgb_flag;
u8 type;
u8 rom_size;
u8 ram_size;
u8 dest_code;
u8 lic_code;
u8 version;
u8 checksum;
u16 global_checksum;
} rom_header;
2025-01-30 15:17:54 -07:00
bool cart_load(char *cart);
rom_header *get_rom_header();