mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-11-24 06:32:46 +00:00
compressor: Simplify memset in InitializeCompressorEffect
Provides equivalent behavior while being significantly smaller.
This commit is contained in:
parent
fd876f200f
commit
f08046f4d7
|
@ -33,7 +33,7 @@ static void SetCompressorEffectParameter(const CompressorInfo::ParameterVersion2
|
|||
|
||||
static void InitializeCompressorEffect(const CompressorInfo::ParameterVersion2& params,
|
||||
CompressorInfo::State& state) {
|
||||
std::memset(&state, 0, sizeof(CompressorInfo::State));
|
||||
state = {};
|
||||
|
||||
state.unk_00 = 0;
|
||||
state.unk_04 = 1.0f;
|
||||
|
|
Loading…
Reference in a new issue