Fix CUTOFF_TO_IIR_TABLE OOB

This commit is contained in:
PJB3005
2026-03-16 16:48:45 +01:00
parent a4bec36b12
commit 4590cd6419
2 changed files with 12 additions and 0 deletions
@@ -33,7 +33,11 @@ struct JASCalc {
f32 fake2(s32 x);
f32 fake3();
#if AVOID_UB
static const s16 CUTOFF_TO_IIR_TABLE[129][4];
#else
static const s16 CUTOFF_TO_IIR_TABLE[128][4];
#endif
};
template <typename A, typename B>