mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-06-29 20:06:25 +02:00
fix AsFlags rename conflict
This commit is contained in:
parent
ae29ec8ba8
commit
7a34e4fc34
1 changed files with 3 additions and 3 deletions
|
@ -186,8 +186,8 @@ namespace Ryujinx.Cpu
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
baseMemory = new MemoryBlock(asSize, asFlags);
|
baseMemory = new MemoryBlock(asSize, AsFlags);
|
||||||
mirrorMemory = new MemoryBlock(asSize, asFlags);
|
mirrorMemory = new MemoryBlock(asSize, AsFlags);
|
||||||
addressSpace = new AddressSpace(backingMemory, baseMemory, mirrorMemory, asSize, supports4KBPages);
|
addressSpace = new AddressSpace(backingMemory, baseMemory, mirrorMemory, asSize, supports4KBPages);
|
||||||
}
|
}
|
||||||
catch (SystemException)
|
catch (SystemException)
|
||||||
|
@ -203,7 +203,7 @@ namespace Ryujinx.Cpu
|
||||||
{
|
{
|
||||||
addressSpace = null;
|
addressSpace = null;
|
||||||
|
|
||||||
MemoryAllocationFlags asFlags = MemoryAllocationFlags.Reserve | MemoryAllocationFlags.ViewCompatible;
|
MemoryAllocationFlags AsFlags = MemoryAllocationFlags.Reserve | MemoryAllocationFlags.ViewCompatible;
|
||||||
|
|
||||||
ulong minAddressSpaceSize = Math.Min(asSize, 1UL << 36);
|
ulong minAddressSpaceSize = Math.Min(asSize, 1UL << 36);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue