summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-04-03 03:36:26 +0200
committerbunnei <bunneidev@gmail.com>2020-04-17 06:59:29 +0200
commitf1b607829e3b93aed117467c1e119514a61074da (patch)
treea94b2433d1f95364f1a599f94a5b04758cc41fba
parentcommon: scope_exit: Implement mechanism for canceling a scope exit. (diff)
downloadyuzu-f1b607829e3b93aed117467c1e119514a61074da.tar
yuzu-f1b607829e3b93aed117467c1e119514a61074da.tar.gz
yuzu-f1b607829e3b93aed117467c1e119514a61074da.tar.bz2
yuzu-f1b607829e3b93aed117467c1e119514a61074da.tar.lz
yuzu-f1b607829e3b93aed117467c1e119514a61074da.tar.xz
yuzu-f1b607829e3b93aed117467c1e119514a61074da.tar.zst
yuzu-f1b607829e3b93aed117467c1e119514a61074da.zip
-rw-r--r--src/core/arm/dynarmic/arm_dynarmic_64.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/arm/dynarmic/arm_dynarmic_64.cpp b/src/core/arm/dynarmic/arm_dynarmic_64.cpp
index bcbaac57f..9add5d363 100644
--- a/src/core/arm/dynarmic/arm_dynarmic_64.cpp
+++ b/src/core/arm/dynarmic/arm_dynarmic_64.cpp
@@ -8,6 +8,7 @@
#include <dynarmic/A64/config.h>
#include "common/logging/log.h"
#include "common/microprofile.h"
+#include "common/page_table.h"
#include "core/arm/dynarmic/arm_dynarmic_64.h"
#include "core/core.h"
#include "core/core_manager.h"
@@ -18,7 +19,6 @@
#include "core/hle/kernel/process.h"
#include "core/hle/kernel/scheduler.h"
#include "core/hle/kernel/svc.h"
-#include "core/hle/kernel/vm_manager.h"
#include "core/memory.h"
namespace Core {
@@ -159,6 +159,9 @@ std::shared_ptr<Dynarmic::A64::Jit> ARM_Dynarmic_64::MakeJit(Common::PageTable&
// Unpredictable instructions
config.define_unpredictable_behaviour = true;
+ config.detect_misaligned_access_via_page_table = 16 | 32 | 64 | 128;
+ config.only_detect_misalignment_via_page_table_on_page_boundary = true;
+
return std::make_shared<Dynarmic::A64::Jit>(config);
}