feature: Turbo Mode

Adds an elapsed tick multiplier feature which speeds up games which are built upon delta time.

More information: https://web.archive.org/web/20240713135029/https://github.com/Ryujinx/Ryujinx/pull/6456

Co-authored-by: KeatonTheBot <keaton@ryujinx.app>
This commit is contained in:
GreemDev
2025-09-04 23:49:32 -05:00
committed by KeatonTheBot
co-authored by KeatonTheBot
parent 5c6175cebf
commit c56d04a9a9
23 changed files with 325 additions and 43 deletions
@@ -1072,7 +1072,14 @@ namespace Ryujinx.Graphics.Gpu.Engine.Threed
/// </summary>
private void UpdateIndexBufferState()
{
var indexBuffer = _state.State.IndexBufferState;
var indexBufferNullable = _state?.State.IndexBufferState;
if (!indexBufferNullable.HasValue)
{
return;
}
IndexBufferState indexBuffer = indexBufferNullable.Value;
if (_drawState.IndexCount == 0)
{