mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Revert "Merge pull request #5190 from raven02/patch-32"
This reverts commitaef180259a
, reversing changes made tod69f02dea0
.
This commit is contained in:
parent
aef180259a
commit
6c5165e505
1 changed files with 2 additions and 2 deletions
|
@ -394,10 +394,10 @@ void SasVoice::ReadSamples(s16 *output, int numSamples) {
|
|||
void SasInstance::MixVoice(SasVoice &voice) {
|
||||
switch (voice.type) {
|
||||
case VOICETYPE_VAG:
|
||||
if (!voice.vagAddr)
|
||||
if (voice.type == VOICETYPE_VAG && !voice.vagAddr)
|
||||
break;
|
||||
case VOICETYPE_PCM:
|
||||
if (!voice.pcmAddr)
|
||||
if (voice.type == VOICETYPE_PCM && !voice.pcmAddr)
|
||||
break;
|
||||
default:
|
||||
// Load resample history (so we can use a wide filter)
|
||||
|
|
Loading…
Add table
Reference in a new issue