mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-15 22:54:00 +00:00
Fix perf regression
This commit is contained in:
parent
f4eb7dceaf
commit
3dcbba38bf
1 changed files with 2 additions and 1 deletions
|
@ -520,7 +520,8 @@ void VoiceContext::SortInfo() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void VoiceContext::UpdateStateByDspShared() {
|
void VoiceContext::UpdateStateByDspShared() {
|
||||||
voice_states = dsp_voice_states;
|
std::memcpy(voice_states.data(), dsp_voice_states.data(),
|
||||||
|
sizeof(VoiceState) * dsp_voice_states.size());
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace AudioCore
|
} // namespace AudioCore
|
||||||
|
|
Loading…
Reference in a new issue