summaryrefslogtreecommitdiff
path: root/arm9/lib/NitroSDK/src/GX_state.c
blob: 003e42b51a0f0c26f55c5f2ab021a9d5bdb73a44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include "global.h"
#include "gx.h"

struct GX_State gGXState;

ARM_FUNC void GX_InitGXState(){
    gGXState.lcdc = 0x0;
    gGXState.bg = 0x0;
    gGXState.obj = 0x0;
    gGXState.arm7 = 0x0;
    gGXState.tex = 0x0;
    gGXState.texPltt = 0x0;
    gGXState.clrImg = 0x0;
    gGXState.bgExtPltt = 0x0;
    gGXState.objExtPltt = 0x0;
    gGXState.sub_bg = 0x0;
    gGXState.sub_obj = 0x0;
    gGXState.sub_bgExtPltt = 0x0;
    gGXState.sub_objExtPltt = 0x0;
    reg_GX_VRAMCNT = 0x0;
    reg_GX_VRAMCNT_E = 0x0;
    reg_GX_VRAMCNT_F = 0x0;
    reg_GX_VRAMCNT_G = 0x0;
    reg_GX_VRAM_HI_CNT = 0x0;
}