From 1876b346fea647e8284a66bb6d62c38801035cff Mon Sep 17 00:00:00 2001 From: gdk Date: Sun, 13 Oct 2019 03:02:07 -0300 Subject: Initial work --- ARMeilleure/Instructions/InstEmitMemoryHelper.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'ARMeilleure/Instructions') diff --git a/ARMeilleure/Instructions/InstEmitMemoryHelper.cs b/ARMeilleure/Instructions/InstEmitMemoryHelper.cs index 0ae5e3f2..e0b44353 100644 --- a/ARMeilleure/Instructions/InstEmitMemoryHelper.cs +++ b/ARMeilleure/Instructions/InstEmitMemoryHelper.cs @@ -355,12 +355,9 @@ namespace ARMeilleure.Instructions } while (bit < context.Memory.AddressSpaceBits); - if (!context.Memory.HasWriteWatchSupport) - { - Operand hasFlagSet = context.BitwiseAnd(pte, Const((long)MemoryManager.PteFlagsMask)); + Operand hasFlagSet = context.BitwiseAnd(pte, Const((long)MemoryManager.PteFlagsMask)); - context.BranchIfTrue(lblFallbackPath, hasFlagSet); - } + context.BranchIfTrue(lblFallbackPath, hasFlagSet); Operand pageOffset = context.BitwiseAnd(address, Const(address.Type, MemoryManager.PageMask)); -- cgit v1.2.3