diff --git a/source/arm11/open_agb_firm.c b/source/arm11/open_agb_firm.c index 862b75e..b0608e3 100644 --- a/source/arm11/open_agb_firm.c +++ b/source/arm11/open_agb_firm.c @@ -646,6 +646,9 @@ static void adjustGammaTableForGba(void) const float lcdGamma = g_oafConfig.lcdGamma; const float contrast = g_oafConfig.contrast; const float brightness = g_oafConfig.brightness; + + vu32 *const REG_LCD_PDC0_GTBL_FIFO = &getGxRegs()->pdc0.color_lut_data; + vu32 *const REG_LCD_PDC1_GTBL_FIFO = &getGxRegs()->pdc1.color_lut_data; for(u32 i = 0; i < 256; i++) { // Credits for this algo go to Extrems.