Don't over-allocate the active effect slot array
commit692d7cb7b86212b825f1bb1082a6ddc50ab3a51a
authorChris Robinson <chris.kcat@gmail.com>
Thu, 21 Mar 2024 19:54:52 +0000 (21 12:54 -0700)
committerChris Robinson <chris.kcat@gmail.com>
Thu, 21 Mar 2024 19:54:52 +0000 (21 12:54 -0700)
tree92b78f717327691569af86b79ba391b32ad1480f
parenta8ead85ad9f77d80e21e5e058215fa1b2621d412
Don't over-allocate the active effect slot array

Rather than hacking in the sorted array by assuming an equal length array after
the end of the active array, include it as the back half of the array.
al/auxeffectslot.cpp
alc/alc.cpp
alc/alu.cpp
alc/context.cpp
core/context.cpp
core/context.h
core/effectslot.cpp