mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-03-25 22:40:19 +00: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
11 lines
397 B
C#
11 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);
|
|
}
|
|
}
|