mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Shouldn't voice.type == VOICETYPE_VAG/PCM
This commit is contained in:
parent
d69f02dea0
commit
9965bbb43e
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.type == VOICETYPE_VAG && !voice.vagAddr)
|
||||
if (!voice.vagAddr)
|
||||
break;
|
||||
case VOICETYPE_PCM:
|
||||
if (voice.type == VOICETYPE_PCM && !voice.pcmAddr)
|
||||
if (!voice.pcmAddr)
|
||||
break;
|
||||
default:
|
||||
// Load resample history (so we can use a wide filter)
|
||||
|
|
Loading…
Add table
Reference in a new issue