fix arm jit rebase

This commit is contained in:
Emmanuel Hansen 2024-01-20 18:55:24 +00:00
parent 956c5fe4fd
commit ba3438f24a
3 changed files with 6 additions and 1 deletions

View File

@ -12,7 +12,7 @@ namespace Ryujinx.Cpu.LightningJit
} }
/// <inheritdoc/> /// <inheritdoc/>
public ICpuContext CreateCpuContext(IMemoryManager memoryManager, bool for64Bit) public ICpuContext CreateCpuContext(ICpuMemoryManager memoryManager, bool for64Bit)
{ {
return new LightningJitCpuContext(_tickSource, memoryManager, for64Bit); return new LightningJitCpuContext(_tickSource, memoryManager, for64Bit);
} }

View File

@ -136,5 +136,9 @@ namespace Ryujinx.Cpu.Nce
public void PrepareCodeRange(ulong address, ulong size) public void PrepareCodeRange(ulong address, ulong size)
{ {
} }
public void Dispose()
{
}
} }
} }

View File

@ -16,6 +16,7 @@ namespace Ryujinx.Cpu.Nce
} }
public void Commit(ulong offset, ulong size) => _impl.Commit(offset, size); public void Commit(ulong offset, ulong size) => _impl.Commit(offset, size);
public void MapAsRw(ulong offset, ulong size) => _impl.Reprotect(offset, size, MemoryPermission.ReadAndWrite);
public void MapAsRx(ulong offset, ulong size) => _impl.Reprotect(offset, size, MemoryPermission.ReadAndExecute); public void MapAsRx(ulong offset, ulong size) => _impl.Reprotect(offset, size, MemoryPermission.ReadAndExecute);
public void MapAsRwx(ulong offset, ulong size) => _impl.Reprotect(offset, size, MemoryPermission.ReadWriteExecute); public void MapAsRwx(ulong offset, ulong size) => _impl.Reprotect(offset, size, MemoryPermission.ReadWriteExecute);