summaryrefslogtreecommitdiff
path: root/src/code_8094F88.c
diff options
context:
space:
mode:
authorSeth Barberee <seth.barberee@gmail.com>2021-03-12 15:39:07 -0600
committerGitHub <noreply@github.com>2021-03-12 15:39:07 -0600
commit7b142311a7294c4c7a943870fa5f24f0fbea604a (patch)
treea1a9513c2f997cc8274af093803dd7d936e65ad0 /src/code_8094F88.c
parentd72e17b5f5d795bebda2f6dc78dccb5e80c432b5 (diff)
Miscellaneous Work (Again) (#30)
* work on debug menu and document that and main menu * split, decomp, label more funcs * split exclusive pokemon data out into C * macro-ize exlusive pokemon data * decomp 2 more funcs * decomp a few more * finally match PromptNewQuestion * woot 7% aka more debug menu stuff
Diffstat (limited to 'src/code_8094F88.c')
-rw-r--r--src/code_8094F88.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/code_8094F88.c b/src/code_8094F88.c
index b9d2828..d3ed115 100644
--- a/src/code_8094F88.c
+++ b/src/code_8094F88.c
@@ -14,8 +14,8 @@ extern u32 *gUnknown_203B488;
extern u32 *gUnknown_203B48C;
-extern void sub_809488C(u32 *r0, u32 *r1, u32);
-extern void sub_8094924(u32 *r0, u32 *r1, u32);
+extern void sub_809488C(u8 *r0, u8 *r1, u32);
+extern void sub_8094924(u8 *r0, u8 *r1, u32);
void InitializePlayTime(void)
@@ -87,20 +87,20 @@ void DeconstructPlayTime(struct PlayTimeStruct *r0, u32 *outHours, u32 *outMinut
}
}
-void sub_8095044(u32 *r0)
+void sub_8095044(u8 *r0)
{
- sub_809488C(r0, (u32 *)(&(gPlayTimeRef->frames)), 6);
- sub_809488C(r0, (u32 *)(&(gPlayTimeRef->seconds)), 6);
- sub_809488C(r0, (u32 *)(&(gPlayTimeRef->minutes)), 6);
- sub_809488C(r0, (u32 *)(&(gPlayTimeRef->hours)), 14);
+ sub_809488C(r0, (&(gPlayTimeRef->frames)), 6);
+ sub_809488C(r0, (&(gPlayTimeRef->seconds)), 6);
+ sub_809488C(r0, (&(gPlayTimeRef->minutes)), 6);
+ sub_809488C(r0, (u8 *)(&(gPlayTimeRef->hours)), 14);
}
-void sub_8095080(u32 *r0)
+void sub_8095080(u8 *r0)
{
- sub_8094924(r0, (u32 *)(&(gPlayTimeRef->frames)), 6);
- sub_8094924(r0, (u32 *)(&(gPlayTimeRef->seconds)), 6);
- sub_8094924(r0, (u32 *)(&(gPlayTimeRef->minutes)), 6);
- sub_8094924(r0, (u32 *)(&(gPlayTimeRef->hours)), 14);
+ sub_8094924(r0, (&(gPlayTimeRef->frames)), 6);
+ sub_8094924(r0, (&(gPlayTimeRef->seconds)), 6);
+ sub_8094924(r0, (&(gPlayTimeRef->minutes)), 6);
+ sub_8094924(r0, (u8 *)(&(gPlayTimeRef->hours)), 14);
}
void sub_80950BC(void)