--- hatari/src/includes/screen.h 2019/04/09 08:49:29 1.1.1.13 +++ hatari/src/includes/screen.h 2019/04/09 08:52:02 1.1.1.14 @@ -34,9 +34,9 @@ #define NUM_VISIBLE_LINES (OVERSCAN_TOP+200+MAX_OVERSCAN_BOTTOM) /* 1x16 colour palette per screen line, +1 line as may write after line 200 */ -#define HBL_PALETTE_LINES ((NUM_VISIBLE_LINES+1)*16) +#define HBL_PALETTE_LINES ((NUM_VISIBLE_LINES+1 +3 )*16) /* [NP] FIXME we need to handle 313 hbl, not 310 ; palette code is a mess it should be removed */ /* Bit mask of palette colours changes, top bit set is resolution change */ -#define HBL_PALETTE_MASKS (NUM_VISIBLE_LINES+1) +#define HBL_PALETTE_MASKS (NUM_VISIBLE_LINES+1 +3 ) /* [NP] FIXME we need to handle 313 hbl, not 310 ; palette code is a mess it should be removed */ /* Frame buffer, used to store details in screen conversion */