forked from Mirror/Ryujinx
amadeus: Fix a typo in TapFrame logic (#1767)
This fix a crash at boot in Pang Adventures
This commit is contained in:
parent
cf6cd71488
commit
bc11443621
1 changed files with 1 additions and 1 deletions
|
@ -277,7 +277,7 @@ namespace Ryujinx.Audio.Renderer.Server.Performance
|
||||||
|
|
||||||
public override void TapFrame(bool dspRunningBehind, uint voiceDropCount, ulong startRenderingTicks)
|
public override void TapFrame(bool dspRunningBehind, uint voiceDropCount, ulong startRenderingTicks)
|
||||||
{
|
{
|
||||||
if (_availableFrameCount > 1)
|
if (_availableFrameCount > 0)
|
||||||
{
|
{
|
||||||
int targetIndexForHistory = _indexHistoryWrite;
|
int targetIndexForHistory = _indexHistoryWrite;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue