diff options
author | red031000 <rubenru09@aol.com> | 2020-05-24 15:14:47 +0100 |
---|---|---|
committer | red031000 <rubenru09@aol.com> | 2020-05-24 15:14:47 +0100 |
commit | c29ab952787c437b15a70a88dbb07f309a877574 (patch) | |
tree | e49187e81c3ad40578eea0cc54ceb1ec8a6d81ff /arm9/lib/src/GX.c | |
parent | 77ebfad667ae038119b4413b87c99d0497f2d522 (diff) | |
parent | 8cfbe69596f9d3079d0098f30ea58debd5487271 (diff) |
Merge branch 'master' of https://github.com/martmists/pokediamond
Diffstat (limited to 'arm9/lib/src/GX.c')
-rw-r--r-- | arm9/lib/src/GX.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/arm9/lib/src/GX.c b/arm9/lib/src/GX.c index 28c3cc01..b1d62145 100644 --- a/arm9/lib/src/GX.c +++ b/arm9/lib/src/GX.c @@ -2,10 +2,11 @@ #include "main.h" #include "GX.h" -extern u16 GXi_VRamLockId; -extern u16 sDispMode; -extern u32 GXi_DmaId; -extern u16 sIsDispOn; +u32 GXi_DmaId = 3; +vu16 GXi_VRamLockId = 0; + +static u16 sDispMode = 0; +static u16 sIsDispOn = TRUE; ARM_FUNC void GX_Init(){ reg_GX_POWCNT |= 0x8000; |