Decompile code_800D2E30 and use struct in code_800A9F30 (#80)

* Match func_800AA000

* Match z_camera/func_800437F0

* Decompile code_800D2E30, use struct in 800A9F30

* Format

* Remove 'U' from literals

* Remove bss, cleanup z_camera

* Review changes, rename temp

* Move externs to variables.h
This commit is contained in:
Synray
2020-04-18 19:56:53 -07:00
committed by GitHub
parent 21750d5aee
commit eefbe9afe1
12 changed files with 197 additions and 424 deletions
-3
View File
@@ -5,9 +5,6 @@
u32 gCurrentRegion = 0;
LocaleCartInfo sCartInfo;
// temporary
extern PadMgr gPadMgr;
void Locale_Init() {
osEPiReadIo(gCartHandle, 0x38, &sCartInfo.mediaFormat);
osEPiReadIo(gCartHandle, 0x3C, &sCartInfo.regionInfo);