mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2024-11-24 18:20:12 +01: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
@ -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 New Issue
Block a user