mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2025-08-30 07:25:05 +00:00
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.
18 lines
688 B
C#
18 lines
688 B
C#
using ARMeilleure.Memory;
|
|
|
|
namespace Ryujinx.Cpu
|
|
{
|
|
/// <summary>
|
|
/// CPU execution engine interface.
|
|
/// </summary>
|
|
public interface ICpuEngine
|
|
{
|
|
/// <summary>
|
|
/// Creates a new CPU context that can be used to run code for multiple threads sharing an address space.
|
|
/// </summary>
|
|
/// <param name="memoryManager">Memory manager for the address space of the context</param>
|
|
/// <param name="for64Bit">Indicates if the context will be used to run 64-bit or 32-bit Arm code</param>
|
|
/// <returns>CPU context</returns>
|
|
ICpuContext CreateCpuContext(IMemoryManager memoryManager, bool for64Bit, bool lowPower);
|
|
}
|
|
}
|