From b5728e9c11d679ddac87b3afc6085f988b72d78d Mon Sep 17 00:00:00 2001 From: panicbit Date: Sun, 15 Apr 2018 03:11:18 +0200 Subject: [PATCH] Add gpu color LUT registers to rosalina --- sysmodules/rosalina/include/draw.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sysmodules/rosalina/include/draw.h b/sysmodules/rosalina/include/draw.h index 3ae0198..6e48c85 100644 --- a/sysmodules/rosalina/include/draw.h +++ b/sysmodules/rosalina/include/draw.h @@ -34,6 +34,8 @@ #define GPU_FB_TOP_LEFT_ADDR_2 REG32(0x1040046C) #define GPU_FB_TOP_FMT REG32(0x10400470) #define GPU_FB_TOP_SEL REG32(0x10400478) +#define GPU_FB_TOP_COL_LUT_INDEX REG32(0x10400480) +#define GPU_FB_TOP_COL_LUT_ELEM REG32(0x10400484) #define GPU_FB_TOP_STRIDE REG32(0x10400490) #define GPU_FB_TOP_RIGHT_ADDR_1 REG32(0x10400494) #define GPU_FB_TOP_RIGHT_ADDR_2 REG32(0x10400498) @@ -42,6 +44,8 @@ #define GPU_FB_BOTTOM_ADDR_2 REG32(0x1040056C) #define GPU_FB_BOTTOM_FMT REG32(0x10400570) #define GPU_FB_BOTTOM_SEL REG32(0x10400578) +#define GPU_FB_BOTTOM_COL_LUT_INDEX REG32(0x10400580) +#define GPU_FB_BOTTOM_COL_LUT_ELEM REG32(0x10400584) #define GPU_FB_BOTTOM_STRIDE REG32(0x10400590) #define GPU_PSC0_CNT REG32(0x1040001C)