mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-11-15 09:35:27 +00:00
20 lines
479 B
C#
20 lines
479 B
C#
|
using ARMeilleure.Memory;
|
||
|
|
||
|
namespace Ryujinx.Cpu.AppleHv
|
||
|
{
|
||
|
public class HvEngine : ICpuEngine
|
||
|
{
|
||
|
private readonly ITickSource _tickSource;
|
||
|
|
||
|
public HvEngine(ITickSource tickSource)
|
||
|
{
|
||
|
_tickSource = tickSource;
|
||
|
}
|
||
|
|
||
|
/// <inheritdoc/>
|
||
|
public ICpuContext CreateCpuContext(IMemoryManager memoryManager, bool for64Bit)
|
||
|
{
|
||
|
return new HvCpuContext(_tickSource, memoryManager, for64Bit);
|
||
|
}
|
||
|
}
|
||
|
}
|