mirror of
https://gitee.com/anod/open_agb_firm.git
synced 2025-05-10 18:56:56 +08:00
还有两个赋值问题需要解决
This commit is contained in:
parent
ffa83e8ccc
commit
4be3f76c6d
@ -1,7 +1,7 @@
|
|||||||
#ifndef __ANO_PATCH_H__
|
#ifndef __ANO_PATCH_H__
|
||||||
#define __ANO_PATCH_H__
|
#define __ANO_PATCH_H__
|
||||||
|
|
||||||
#include "type.h"
|
#include "types.h"
|
||||||
|
|
||||||
#define INPUT(type) type
|
#define INPUT(type) type
|
||||||
#define OUTPUT(type) type*
|
#define OUTPUT(type) type*
|
||||||
|
@ -28,6 +28,7 @@
|
|||||||
// @MERGE 231006 START
|
// @MERGE 231006 START
|
||||||
#include "drivers/lgy_common.h"
|
#include "drivers/lgy_common.h"
|
||||||
#include "drivers/lgy11.h"
|
#include "drivers/lgy11.h"
|
||||||
|
#include "drivers/gx.h"
|
||||||
// @MERGE 231006 END
|
// @MERGE 231006 END
|
||||||
#include "arm11/drivers/lgyfb.h"
|
#include "arm11/drivers/lgyfb.h"
|
||||||
#include "arm11/console.h"
|
#include "arm11/console.h"
|
||||||
@ -657,8 +658,8 @@ static void adjustGammaTableForGba(void)
|
|||||||
1.0f / lcdGamma) * 255.0f;
|
1.0f / lcdGamma) * 255.0f;
|
||||||
|
|
||||||
// Same adjustment for red/green/blue.
|
// Same adjustment for red/green/blue.
|
||||||
REG_LCD_PDC0_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;
|
*REG_LCD_PDC1_GTBL_FIFO = res<<16 | res<<8 | res;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user