1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-18 01:07:58 +00:00

Merge pull request #1230 from TomHarte/Warnings

Avoid illegal reads in Enterprise Nick
This commit is contained in:
Thomas Harte 2023-12-02 13:29:12 -05:00 committed by GitHub
commit ef134e13a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,7 +75,7 @@ class Nick {
uint8_t lines_remaining_ = 0x00;
uint8_t two_colour_mask_ = 0xff;
int left_margin_ = 0, right_margin_ = 0;
const uint16_t *alt_ind_palettes[4];
const uint16_t *alt_ind_palettes[4] = {palette_, palette_, palette_, palette_};
enum class Mode {
Vsync,
Pixel,