mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-12-16 04:48:42 +00:00
Memory changes 3.1 (ryubing/ryujinx!212)
See merge request ryubing/ryujinx!212
This commit is contained in:
parent
6b814fb973
commit
e8225ce7aa
@ -92,6 +92,7 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
|
||||
}
|
||||
|
||||
short[] outputBuffer = ArrayPool<short>.Shared.Rent((int)inputCount * SampleCount);
|
||||
Array.Fill(outputBuffer, (short)0, 0, (int)inputCount * SampleCount);
|
||||
|
||||
for (int i = 0; i < bufferCount; i++)
|
||||
{
|
||||
|
||||
@ -330,6 +330,7 @@ namespace Ryujinx.Input.HLE
|
||||
|
||||
_device.TamperMachine.UpdateInput(hleInputStates);
|
||||
|
||||
hleMotionStates.Clear();
|
||||
_hleMotionStatesPool.Release(hleMotionStates);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user