From bdb976dc27b00a7e86c0bda10911c67c9d296c35 Mon Sep 17 00:00:00 2001 From: pi1024e <49824824+pi1024e@users.noreply.github.com> Date: Sat, 29 Aug 2020 13:18:35 -0400 Subject: fixed mistakes --- src/AgbRfu_LinkManager.c | 2 +- src/m4a.c | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/AgbRfu_LinkManager.c b/src/AgbRfu_LinkManager.c index 6fc8dc89a..42cc9aea3 100644 --- a/src/AgbRfu_LinkManager.c +++ b/src/AgbRfu_LinkManager.c @@ -352,7 +352,7 @@ static bool8 rfu_LMAN_linkWatcher(u16 REQ_commandID) { for (i = 0; i < RFU_CHILD_MAX; i++) { - if ((bm_linkLossSlot) & (1 << i)) + if (bm_linkLossSlot & (1 << i)) { lman.linkRecoveryTimer.active |= (1 << i); lman.linkRecoveryTimer.count[i] = lman.linkRecoveryTimer.count_max; diff --git a/src/m4a.c b/src/m4a.c index 66f563bd4..f9a9bf1cc 100644 --- a/src/m4a.c +++ b/src/m4a.c @@ -431,8 +431,6 @@ void m4aSoundMode(u32 mode) soundInfo->maxChans = temp >> SOUND_MODE_MAXCHN_SHIFT; - temp = MAX_DIRECTSOUND_CHANNELS; - for (temp = MAX_DIRECTSOUND_CHANNELS, chan = soundInfo->chans; temp != 0; temp--,chan++) { chan->status = 0; -- cgit v1.2.3