1
mirror of https://github.com/yuzu-emu/yuzu synced 2024-11-05 03:41:15 +01:00

Fix perf regression

This commit is contained in:
David Marcec 2020-07-25 21:46:25 +10:00
parent f4eb7dceaf
commit 3dcbba38bf

View File

@ -520,7 +520,8 @@ void VoiceContext::SortInfo() {
}
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