Skip to content

Commit

Permalink
Update ui.c
Browse files Browse the repository at this point in the history
  • Loading branch information
ThothWhatsThis authored Jan 21, 2024
1 parent 9175401 commit 31b6c81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui.c
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ void DrawChargeBar(void) {
bool32 tmp1;
u16* BufferPos;
returnValues ret;
//these names are almost certainly inaccurate
// these names are almost certainly inaccurate
u32 chargeTime;
u32 chargeState;
u32 chargeFrame;
Expand All @@ -476,7 +476,7 @@ void DrawChargeBar(void) {
gHUD.unk_6 = 1;
gHUD.unk_7 = chargeTime;

//this calls Div and returns the result in ret.values[0] and the remainder in ret.values[1]
// this calls Div and returns the result in ret.values[0] and the remainder in ret.values[1]
ret.raw = ((DivRem*)&Div)(chargeTime, 4);
chargeState = ret.values[0];
chargeFrame = ret.values[1];
Expand Down

0 comments on commit 31b6c81

Please sign in to comment.