SPU: Refactor volume envelopes

Properly handle phase inversion. Fixes left channel audio in Wipeout 3.
This commit is contained in:
Stenzek
2024-08-19 01:38:28 +10:00
parent aa1596fdab
commit a0fcbba45c
2 changed files with 153 additions and 102 deletions

View File

@ -6,7 +6,7 @@
#include "common/types.h"
static constexpr u32 SAVE_STATE_MAGIC = 0x43435544;
static constexpr u32 SAVE_STATE_VERSION = 69;
static constexpr u32 SAVE_STATE_VERSION = 70;
static constexpr u32 SAVE_STATE_MINIMUM_VERSION = 42;
static_assert(SAVE_STATE_VERSION >= SAVE_STATE_MINIMUM_VERSION);