mirror of
https://gitee.com/anod/open_agb_firm.git
synced 2025-05-07 06:14:12 +08:00
还有两个赋值问题需要解决
This commit is contained in:
parent
ffa83e8ccc
commit
4be3f76c6d
@ -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*
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user