ATF is only 0xFD2 bytes, not 0xFE0

This commit is contained in:
Lior Halphon 2021-04-13 01:09:29 +03:00
parent 5b993ed775
commit a3a73602fc

View File

@ -51,7 +51,8 @@ struct GB_sgb_s {
uint16_t effective_palettes[4 * 4];
uint16_t ram_palettes[4 * 512];
uint8_t attribute_map[20 * 18];
uint8_t attribute_files[0xFE0];
uint8_t attribute_files[0xFD2];
uint8_t attribute_files_padding[0xFE0 - 0xFD2];
/* Intro */
int16_t intro_animation;