mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-10-02 16:50:20 -07:00

* Move most of signal handling to Ryujinx.Cpu project * Format whitespace * Remove unused member * Format whitespace * This does not need to be public anymore
12 lines
397 B
C#
12 lines
397 B
C#
using ARMeilleure.Memory;
|
|
using Ryujinx.Memory;
|
|
|
|
namespace Ryujinx.Cpu.Jit
|
|
{
|
|
public class JitMemoryAllocator : IJitMemoryAllocator
|
|
{
|
|
public IJitMemoryBlock Allocate(ulong size) => new JitMemoryBlock(size, MemoryAllocationFlags.None);
|
|
public IJitMemoryBlock Reserve(ulong size) => new JitMemoryBlock(size, MemoryAllocationFlags.Reserve | MemoryAllocationFlags.Jit);
|
|
}
|
|
}
|