JitMemoryAllocator.cs 361 B

1234567891011
  1. using ARMeilleure.Memory;
  2. using Ryujinx.Memory;
  3. namespace Ryujinx.Cpu
  4. {
  5. class JitMemoryAllocator : IJitMemoryAllocator
  6. {
  7. public IJitMemoryBlock Allocate(ulong size) => new JitMemoryBlock(size, MemoryAllocationFlags.None);
  8. public IJitMemoryBlock Reserve(ulong size) => new JitMemoryBlock(size, MemoryAllocationFlags.Reserve);
  9. }
  10. }