RumbleFxTable: Make table constexpr

Eliminates any potential runtime initializers.
This commit is contained in:
Lioncash 2020-04-26 01:27:43 -04:00
parent 07ebdd364c
commit 002102c530
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
namespace urde { namespace urde {
const RumbleFXTable RumbleFxTable{{ constexpr RumbleFXTable RumbleFxTable{{
/* attackGain, autoReleaseDur, attackDur, decayDur, sustainGain, releaseDur, hasSustain, autoRelease */ /* attackGain, autoReleaseDur, attackDur, decayDur, sustainGain, releaseDur, hasSustain, autoRelease */
{0.48f, 0.f, 0.3f, 0.125f, 0.1f, 0.5f, false, false}, {0.48f, 0.f, 0.3f, 0.125f, 0.1f, 0.5f, false, false},
{0.66f, 0.f, 0.11f, 0.175f, 0.42f, 0.375f, false, false}, {0.66f, 0.f, 0.11f, 0.175f, 0.42f, 0.375f, false, false},