mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 21:39:52 +00:00
Fix sceVaudioChReserve format parameter.
This commit is contained in:
parent
b2701f4421
commit
9ae2bedeab
@ -48,7 +48,7 @@ u32 sceVaudioChReserve(int sampleCount, int freq, int format) {
|
||||
DEBUG_LOG(HLE, "sceVaudioChReserve(%i, %i, %i)", sampleCount, freq, format);
|
||||
chans[PSP_AUDIO_CHANNEL_VAUDIO].reserved = true;
|
||||
chans[PSP_AUDIO_CHANNEL_VAUDIO].sampleCount = sampleCount;
|
||||
chans[PSP_AUDIO_CHANNEL_VAUDIO].format = format;
|
||||
chans[PSP_AUDIO_CHANNEL_VAUDIO].format = format == 2 ? PSP_AUDIO_FORMAT_STEREO : PSP_AUDIO_FORMAT_MONO;
|
||||
chans[PSP_AUDIO_CHANNEL_VAUDIO].leftVolume = 0;
|
||||
chans[PSP_AUDIO_CHANNEL_VAUDIO].rightVolume = 0;
|
||||
vaudioReserved = true;
|
||||
|
Loading…
Reference in New Issue
Block a user