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
1 changed files with 2 additions and 1 deletions

View File

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