Merge remote-tracking branch 'origin/master' into riperiperi/a32-wip
This commit is contained in:
commit
71d5043029
4 changed files with 3 additions and 4 deletions
|
@ -82,7 +82,7 @@ namespace Ryujinx.Graphics.Shader.Translation
|
|||
{
|
||||
if (target.ComponentEnabled(component))
|
||||
{
|
||||
Operand dest = Attribute(AttributeConsts.FragmentOutputColorBase + regIndex * 4);
|
||||
Operand dest = Attribute(AttributeConsts.FragmentOutputColorBase + attachment * 16 + component * 4);
|
||||
|
||||
Operand src = Register(regIndex, RegisterType.Gpr);
|
||||
|
||||
|
|
|
@ -346,7 +346,6 @@ namespace Ryujinx.HLE.HOS.Services.Audio.AudioRendererManager
|
|||
|
||||
int outOffset = 0;
|
||||
int pendingSamples = MixBufferSamplesCount;
|
||||
float volume = voice.Volume;
|
||||
|
||||
while (pendingSamples > 0)
|
||||
{
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
public int VoiceSize;
|
||||
public int VoiceResourceSize;
|
||||
public int EffectSize;
|
||||
public int MixeSize;
|
||||
public int MixSize;
|
||||
public int SinkSize;
|
||||
public int PerformanceManagerSize;
|
||||
public int Unknown24;
|
||||
|
|
|
@ -108,7 +108,7 @@ namespace Ryujinx.HLE.HOS.Services.Audio.AudioRendererManager
|
|||
|
||||
if (wb.Looping == 0)
|
||||
{
|
||||
SetBufferIndex((_bufferIndex + 1) & 3);
|
||||
SetBufferIndex(_bufferIndex + 1);
|
||||
}
|
||||
|
||||
_outStatus.PlayedWaveBuffersCount++;
|
||||
|
|
Loading…
Add table
Reference in a new issue