mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +00:00
Set the reverb type when loading a savestate. May help #8528
This commit is contained in:
parent
f14dcb15db
commit
b68f2deca8
@ -723,6 +723,9 @@ void SasInstance::DoState(PointerWrap &p) {
|
||||
}
|
||||
p.DoArray(voices, ARRAY_SIZE(voices));
|
||||
p.Do(waveformEffect);
|
||||
if (p.mode == p.MODE_READ) {
|
||||
reverb_.SetPreset(waveformEffect.type);
|
||||
}
|
||||
}
|
||||
|
||||
void SasVoice::Reset() {
|
||||
@ -764,8 +767,7 @@ void SasVoice::ChangedParams(bool changedVag) {
|
||||
// TODO: restart VAG somehow
|
||||
}
|
||||
|
||||
void SasVoice::DoState(PointerWrap &p)
|
||||
{
|
||||
void SasVoice::DoState(PointerWrap &p) {
|
||||
auto s = p.Section("SasVoice", 1, 3);
|
||||
if (!s)
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user