From 6ab95bff5839b4be7fa4467539ed42f70265f3aa Mon Sep 17 00:00:00 2001 From: Cuptain Date: Fri, 30 Aug 2024 10:13:30 +1000 Subject: [PATCH] background red --- src/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 3a1a28e..8dc409b 100644 --- a/src/main.c +++ b/src/main.c @@ -8,8 +8,10 @@ int main() //Set the colour of the line. We are using pallete 0 for the bitmap, so we have 0->15. 15 is used for white text, so we set an unused pallet colour, 14 to blue - RGB 0000FF. u16 colour_blue = RGB24_TO_VDPCOLOR(0x0000ff); + u16 colour_red = RGB24_TO_VDPCOLOR(0xff0000); PAL_setColor(14, colour_blue); - //VDP_setBackgroundColor(14); + PAL_setColor(13, colour_red); + VDP_setBackgroundColor(13); //A line needs a source coordinate x,y and a destination coordinate x,y along with a pallete colour. Line l;