diff options
| author | Roman971 <32455037+Roman971@users.noreply.github.com> | 2022-06-07 06:34:28 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-07 00:34:28 -0400 |
| commit | 04ade9a255ac2429238cdb3e6b076a4989f5d2f0 (patch) | |
| tree | 47973692a85e4cdc4d7147e81d0e3256b7badf84 /src/code | |
| parent | 6f0b8f1e7483524cc967536c50cb02e431d534c9 (diff) | |
Update clang-tidy configuration in format.sh and apply fixes for a new check (#1257)
* Update format.sh compiler options and add a check for clang-tidy
* Enable clang-tidy option to find inconsistent argument names
* Remove -Iassets from clang-tidy compiler options
Diffstat (limited to 'src/code')
| -rw-r--r-- | src/code/audio_heap.c | 2 | ||||
| -rw-r--r-- | src/code/code_800E4FE0.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/code/audio_heap.c b/src/code/audio_heap.c index b49822711..147ce16b9 100644 --- a/src/code/audio_heap.c +++ b/src/code/audio_heap.c @@ -1,7 +1,7 @@ #include "ultra64.h" #include "global.h" -void AudioHeap_InitSampleCaches(u32 persistentSize, u32 temporarySize); +void AudioHeap_InitSampleCaches(u32 persistentSampleCacheSize, u32 temporarySampleCacheSize); SampleCacheEntry* AudioHeap_AllocTemporarySampleCacheEntry(u32 size); SampleCacheEntry* AudioHeap_AllocPersistentSampleCacheEntry(u32 size); void AudioHeap_DiscardSampleCacheEntry(SampleCacheEntry* entry); diff --git a/src/code/code_800E4FE0.c b/src/code/code_800E4FE0.c index 1be420f2a..5b1101fc9 100644 --- a/src/code/code_800E4FE0.c +++ b/src/code/code_800E4FE0.c @@ -21,12 +21,12 @@ typedef enum { CHAN_UPD_STEREO // 14 } ChannelUpdateType; -void func_800E6300(SequenceChannel* channel, AudioCmd* arg1); +void func_800E6300(SequenceChannel* channel, AudioCmd* cmd); void func_800E59AC(s32 playerIdx, s32 fadeTimer); void Audio_InitMesgQueues(void); AudioTask* func_800E5000(void); void Audio_ProcessCmds(u32); -void func_800E6128(SequencePlayer* seqPlayer, AudioCmd* arg1); +void func_800E6128(SequencePlayer* seqPlayer, AudioCmd* cmd); void func_800E5958(s32 playerIdx, s32 fadeTimer); s32 func_800E66C0(s32 arg0); |
