mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-07 21:18:34 +00:00
12 lines
361 B
C#
12 lines
361 B
C#
|
using ARMeilleure.Memory;
|
|||
|
using Ryujinx.Memory;
|
|||
|
|
|||
|
namespace Ryujinx.Cpu
|
|||
|
{
|
|||
|
class JitMemoryAllocator : IJitMemoryAllocator
|
|||
|
{
|
|||
|
public IJitMemoryBlock Allocate(ulong size) => new JitMemoryBlock(size, MemoryAllocationFlags.None);
|
|||
|
public IJitMemoryBlock Reserve(ulong size) => new JitMemoryBlock(size, MemoryAllocationFlags.Reserve);
|
|||
|
}
|
|||
|
}
|