diff options
| author | Random <28494085+Random06457@users.noreply.github.com> | 2020-04-08 18:36:15 +0200 |
|---|---|---|
| committer | Random <28494085+Random06457@users.noreply.github.com> | 2020-04-08 18:36:15 +0200 |
| commit | d0cf6e153b4f47f04f73656a1534314208b2f596 (patch) | |
| tree | 083231f01a3ba973764514d43bc30579bbcf5b20 /src/code/z_debug.c | |
| parent | 0a25ab74c4f3399c7fbcedf931604960cedd798f (diff) | |
Decompile sleep.c and printutils.c
- Decompile sleep.c (OK)
- Decompile printutils.c (OK)
- Fix 1 non-matching in z_room.c
- Get rid of some magic numbers
Diffstat (limited to 'src/code/z_debug.c')
| -rw-r--r-- | src/code/z_debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/z_debug.c b/src/code/z_debug.c index adda7974b..cb21e0125 100644 --- a/src/code/z_debug.c +++ b/src/code/z_debug.c @@ -114,7 +114,7 @@ void func_8006390C(Input* input) { s32 i; regGroup = (gGameInfo->regGroup * REG_PAGES + gGameInfo->regPage) * REG_PER_PAGE - REG_PER_PAGE; - dpad = input->raw.pad & 0xF00; + dpad = input->raw.pad & (U_JPAD | L_JPAD | R_JPAD | D_JPAD); if (!~(input->raw.pad | ~L_TRIG) || !~(input->raw.pad | ~R_TRIG) || !~(input->raw.pad | ~START_BUTTON)) { input_combo = inputCombos; for (i = 0; i < REG_GROUPS; i++) { |
