From 2d9edddf8ccc32ce1b179a10e23bca1276289447 Mon Sep 17 00:00:00 2001
From: gdkchan <gab.dark.100@gmail.com>
Date: Mon, 5 Mar 2018 16:20:30 -0300
Subject: [PATCH] Remove QueryMemory workaround

---
 ChocolArm64/Decoder/AOpCodeSimdRegElem.cs | 2 --
 Ryujinx.Core/OsHle/Svc/SvcMemory.cs       | 2 --
 2 files changed, 4 deletions(-)

diff --git a/ChocolArm64/Decoder/AOpCodeSimdRegElem.cs b/ChocolArm64/Decoder/AOpCodeSimdRegElem.cs
index 127debd17..721da88fa 100644
--- a/ChocolArm64/Decoder/AOpCodeSimdRegElem.cs
+++ b/ChocolArm64/Decoder/AOpCodeSimdRegElem.cs
@@ -27,8 +27,6 @@ namespace ChocolArm64.Decoder
 
                 default: Emitter = AInstEmit.Und; return;
             }
-
-            
         }
     }
 }
\ No newline at end of file
diff --git a/Ryujinx.Core/OsHle/Svc/SvcMemory.cs b/Ryujinx.Core/OsHle/Svc/SvcMemory.cs
index 1bb3011b8..bf946e4f8 100644
--- a/Ryujinx.Core/OsHle/Svc/SvcMemory.cs
+++ b/Ryujinx.Core/OsHle/Svc/SvcMemory.cs
@@ -88,8 +88,6 @@ namespace Ryujinx.Core.OsHle.Svc
             long InfoPtr  = (long)ThreadState.X0;
             long Position = (long)ThreadState.X2;
 
-            Position &= uint.MaxValue;
-
             AMemoryMapInfo MapInfo = Memory.Manager.GetMapInfo(Position);
 
             if (MapInfo == null)