mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-03 14:36:26 +02:00
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
This commit is contained in:
parent
d7754aeee1
commit
8ad5c73f4c
23 changed files with 475 additions and 41 deletions
|
@ -1065,7 +1065,14 @@ namespace Ryujinx.Graphics.Gpu.Engine.Threed
|
|||
/// </summary>
|
||||
private void UpdateIndexBufferState()
|
||||
{
|
||||
IndexBufferState indexBuffer = _state.State.IndexBufferState;
|
||||
IndexBufferState? indexBufferNullable = _state?.State.IndexBufferState;
|
||||
|
||||
if (!indexBufferNullable.HasValue)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
IndexBufferState indexBuffer = indexBufferNullable.Value;
|
||||
|
||||
if (_drawState.IndexCount == 0)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue