diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2020-08-22 17:17:59 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2020-08-22 17:17:59 -0400 |
commit | 96499a6120d0d0eb9382685253f69bd9123ddb18 (patch) | |
tree | 16df8d3f4de7a3fa4f9427261346f3d135bb3729 /arm9/src/main.c | |
parent | 7a6abfe3982d516b39a13a8fd934dbfe8211cfe6 (diff) |
Decompile sav_system_info
Diffstat (limited to 'arm9/src/main.c')
-rw-r--r-- | arm9/src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arm9/src/main.c b/arm9/src/main.c index e1c8fb38..7baf4c6a 100644 --- a/arm9/src/main.c +++ b/arm9/src/main.c @@ -262,7 +262,7 @@ THUMB_FUNC void FUN_02000F4C(u32 arg0, u32 arg1) DoSoftReset(arg0); } -extern void FUN_0201265C(struct Unk21C4818 *, struct Unk21C4828 *); +extern void CopyRtcBuffersTo(struct Unk21C4818 *, struct Unk21C4828 *); extern void SetMTRNGSeed(u32); extern void SetLCRNGSeed(u32); @@ -270,7 +270,7 @@ THUMB_FUNC void InitializeMainRNG(void) { struct Unk21C4818 spC; struct Unk21C4828 sp0; - FUN_0201265C(&spC, &sp0); + CopyRtcBuffersTo(&spC, &sp0); { u32 r4 = gMain.unk2C; u32 r5 = ((sp0.unk4 + sp0.unk8) << 24) + (spC.unk0 + ((256 * spC.unk4 * spC.unk8) << 16) + (sp0.unk0 << 16)); |