diff options
| author | theo3 <arisstephenson2@gmail.com> | 2023-12-30 17:13:42 -0800 |
|---|---|---|
| committer | theo3 <arisstephenson2@gmail.com> | 2023-12-30 17:13:42 -0800 |
| commit | fb9f59fbbbd1ec2db3a3e757a3dab9a0e563520c (patch) | |
| tree | 0c091f4a07d0e8b188db3336eb84ac25064f2618 /src/common.c | |
| parent | 37723f560798698a2a17d0b29ee7baca1a8cb1c7 (diff) | |
label BounceUpdate asm
Diffstat (limited to 'src/common.c')
| -rw-r--r-- | src/common.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/common.c b/src/common.c index 10e200c0..83d194ca 100644 --- a/src/common.c +++ b/src/common.c @@ -216,15 +216,15 @@ static void StoreKeyInput(Input* input, u32 keyInput) { u32 difference = keyInput & ~heldKeys; input->newKeys = difference; if (keyInput == heldKeys) { - if (--input->unk7 == 0) { - input->unk7 = 4; - input->unk4 = keyInput; + if (--input->menuScrollTimer == 0) { + input->menuScrollTimer = 4; + input->menuScrollKeys = keyInput; } else { - input->unk4 = 0; + input->menuScrollKeys = 0; } } else { - input->unk7 = 20; - input->unk4 = difference; + input->menuScrollTimer = 20; + input->menuScrollKeys = difference; } input->heldKeys = keyInput; } |
