PPTC Profiles & FunctionTable options

The Sparse Jit Function Table sizes now depend on the LowPowerPTC setting. This means lower power devices won't be impacted as hard by the higher ram speed requirement of GiantBlock.
Also added functionality to the PPTC Initializer so it now supports different PPTC Profiles simultaneously, which makes switching between TinyBlock/LowPower and GiantBlock/HighPower seamless.
This also opens the door for the potential of PPTC cache with exefs mods enabled in the future.
Default (aka HighPower) currently has an Avalonia bug that causes a crash when starting a game, it can be bypassed be clicking the window multiple times durring loading until the window unfreezes.
This commit is contained in:
LotP1
2024-11-16 19:02:46 +01:00
committed by LotP1
parent aefaa9eeb8
commit 6e2631dd7b
23 changed files with 79 additions and 42 deletions

View File

@@ -566,6 +566,7 @@ namespace Ryujinx.Headless.SDL2
!options.DisableVSync,
!options.DisableDockedMode,
!options.DisablePTC,
options.LowPowerPTC,
options.EnableInternetAccess,
!options.DisableFsIntegrityChecks ? IntegrityCheckLevel.ErrorOnInvalid : IntegrityCheckLevel.None,
options.FsGlobalAccessLogMode,