forked from MeloNX/MeloNX
21 lines
518 B
C#
21 lines
518 B
C#
using ARMeilleure.Memory;
|
|
|
|
namespace Ryujinx.Cpu.LightningJit
|
|
{
|
|
public class LightningJitEngine : ICpuEngine
|
|
{
|
|
private readonly ITickSource _tickSource;
|
|
|
|
public LightningJitEngine(ITickSource tickSource)
|
|
{
|
|
_tickSource = tickSource;
|
|
}
|
|
|
|
/// <inheritdoc/>
|
|
public ICpuContext CreateCpuContext(ICpuMemoryManager memoryManager, bool for64Bit)
|
|
{
|
|
return new LightningJitCpuContext(_tickSource, memoryManager, for64Bit);
|
|
}
|
|
}
|
|
}
|