fix pre-action crash (ryubing/ryujinx!236)

See merge request ryubing/ryujinx!236
This commit is contained in:
LotP
2025-12-12 14:28:54 -06:00
parent 3a593b6084
commit 2c0977f6b3
4 changed files with 18 additions and 6 deletions

View File

@@ -411,7 +411,7 @@ namespace Ryujinx.Graphics.Gpu.Image
/// flushes often enough, which is determined by the flush balance.
/// </summary>
/// <inheritdoc/>
public void SyncPreAction(bool syncpoint)
public bool SyncPreAction(bool syncpoint)
{
if (syncpoint || NextSyncCopies())
{
@@ -421,6 +421,8 @@ namespace Ryujinx.Graphics.Gpu.Image
_registeredBufferSync = _modifiedSync;
}
}
return true;
}
/// <summary>