adding GDKGLEXT
This commit is contained in:
parent
b9e2d6a8fc
commit
7551bf103e
|
@ -50,8 +50,8 @@
|
||||||
ARM9_struct ARM9Mem;
|
ARM9_struct ARM9Mem;
|
||||||
|
|
||||||
extern BOOL click;
|
extern BOOL click;
|
||||||
Screen MainScreen;
|
NDS_Screen MainScreen;
|
||||||
Screen SubScreen;
|
NDS_Screen SubScreen;
|
||||||
|
|
||||||
//#define DEBUG_TRI
|
//#define DEBUG_TRI
|
||||||
|
|
||||||
|
@ -1495,7 +1495,7 @@ void calc_bright_colors() {
|
||||||
#undef FORMULA_LESS
|
#undef FORMULA_LESS
|
||||||
}
|
}
|
||||||
|
|
||||||
void GPU_ligne(Screen * screen, u16 l)
|
void GPU_ligne(NDS_Screen * screen, u16 l)
|
||||||
{
|
{
|
||||||
struct _DISPCAPCNT * capcnt;
|
struct _DISPCAPCNT * capcnt;
|
||||||
GPU * gpu = screen->gpu;
|
GPU * gpu = screen->gpu;
|
||||||
|
|
|
@ -474,10 +474,10 @@ extern void (*modeRender[8][4])(GPU * gpu, u8 num, u16 l, u8 * DST);
|
||||||
typedef struct {
|
typedef struct {
|
||||||
GPU * gpu;
|
GPU * gpu;
|
||||||
u16 offset;
|
u16 offset;
|
||||||
} Screen;
|
} NDS_Screen;
|
||||||
|
|
||||||
extern Screen MainScreen;
|
extern NDS_Screen MainScreen;
|
||||||
extern Screen SubScreen;
|
extern NDS_Screen SubScreen;
|
||||||
|
|
||||||
int Screen_Init(int coreid);
|
int Screen_Init(int coreid);
|
||||||
void Screen_Reset(void);
|
void Screen_Reset(void);
|
||||||
|
@ -547,7 +547,7 @@ void GPU_addBack(GPU *, u8 num);
|
||||||
int GPU_ChangeGraphicsCore(int coreid);
|
int GPU_ChangeGraphicsCore(int coreid);
|
||||||
|
|
||||||
void GPU_set_DISPCAPCNT(GPU * gpu, u32 val) ;
|
void GPU_set_DISPCAPCNT(GPU * gpu, u32 val) ;
|
||||||
void GPU_ligne(Screen * screen, u16 l) ;
|
void GPU_ligne(NDS_Screen * screen, u16 l) ;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue