mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-10-01 12:30:00 +02:00
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