diff --git a/main.lds b/main.lds index 91159a2..271d758 100644 --- a/main.lds +++ b/main.lds @@ -51,7 +51,7 @@ SECTIONS *(COMMON) } > p1ram - INCLUDE "debug.ld" + INCLUDE "debug.lds" } __p1ram_start = ORIGIN(p1ram); diff --git a/palette.hpp b/palette.hpp index 5086296..061f301 100644 --- a/palette.hpp +++ b/palette.hpp @@ -19,7 +19,7 @@ template void palette_data(); template <> -void palette_data<255>() +void palette_data<256>() { holly.PAL_RAM_CTRL = pal_ram_ctrl::pixel_format::rgb565;