Merge remote-tracking branch 'origin/master' into riperiperi/a32-wip

This commit is contained in:
riperiperi 2020-01-18 23:38:31 +00:00
commit 71d5043029
4 changed files with 3 additions and 4 deletions

View file

@ -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);

View file

@ -346,7 +346,6 @@ namespace Ryujinx.HLE.HOS.Services.Audio.AudioRendererManager
int outOffset = 0;
int pendingSamples = MixBufferSamplesCount;
float volume = voice.Volume;
while (pendingSamples > 0)
{

View file

@ -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;

View file

@ -108,7 +108,7 @@ namespace Ryujinx.HLE.HOS.Services.Audio.AudioRendererManager
if (wb.Looping == 0)
{
SetBufferIndex((_bufferIndex + 1) & 3);
SetBufferIndex(_bufferIndex + 1);
}
_outStatus.PlayedWaveBuffersCount++;