还有两个赋值问题需要解决

This commit is contained in:
a92126 2024-10-03 22:16:43 +08:00
parent ffa83e8ccc
commit 4be3f76c6d
2 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,7 @@
#ifndef __ANO_PATCH_H__
#define __ANO_PATCH_H__
#include "type.h"
#include "types.h"
#define INPUT(type) type
#define OUTPUT(type) type*

View File

@ -28,6 +28,7 @@
// @MERGE 231006 START
#include "drivers/lgy_common.h"
#include "drivers/lgy11.h"
#include "drivers/gx.h"
// @MERGE 231006 END
#include "arm11/drivers/lgyfb.h"
#include "arm11/console.h"
@ -657,8 +658,8 @@ static void adjustGammaTableForGba(void)
1.0f / lcdGamma) * 255.0f;
// Same adjustment for red/green/blue.
REG_LCD_PDC0_GTBL_FIFO = res<<16 | res<<8 | res;
REG_LCD_PDC1_GTBL_FIFO = res<<16 | res<<8 | res;
*REG_LCD_PDC0_GTBL_FIFO = res<<16 | res<<8 | res;
*REG_LCD_PDC1_GTBL_FIFO = res<<16 | res<<8 | res;
}
}