summaryrefslogtreecommitdiffstats
path: root/src/core/arm/dynarmic
diff options
context:
space:
mode:
authorMarkus Wick <markus@selfnet.de>2020-01-19 01:49:30 +0100
committerMarkus Wick <markus@selfnet.de>2021-06-11 17:27:06 +0200
commit621f3f5f47bf9619148cc0ab7ed315e05abf79d7 (patch)
treed2008e290ac507772b5f1d3b019472fc416278f2 /src/core/arm/dynarmic
parenttests: Add tests for host memory (diff)
downloadyuzu-621f3f5f47bf9619148cc0ab7ed315e05abf79d7.tar
yuzu-621f3f5f47bf9619148cc0ab7ed315e05abf79d7.tar.gz
yuzu-621f3f5f47bf9619148cc0ab7ed315e05abf79d7.tar.bz2
yuzu-621f3f5f47bf9619148cc0ab7ed315e05abf79d7.tar.lz
yuzu-621f3f5f47bf9619148cc0ab7ed315e05abf79d7.tar.xz
yuzu-621f3f5f47bf9619148cc0ab7ed315e05abf79d7.tar.zst
yuzu-621f3f5f47bf9619148cc0ab7ed315e05abf79d7.zip
Diffstat (limited to 'src/core/arm/dynarmic')
-rw-r--r--src/core/arm/dynarmic/arm_dynarmic_32.cpp1
-rw-r--r--src/core/arm/dynarmic/arm_dynarmic_64.cpp4
2 files changed, 5 insertions, 0 deletions
diff --git a/src/core/arm/dynarmic/arm_dynarmic_32.cpp b/src/core/arm/dynarmic/arm_dynarmic_32.cpp
index cea7f0fb1..fb128f735 100644
--- a/src/core/arm/dynarmic/arm_dynarmic_32.cpp
+++ b/src/core/arm/dynarmic/arm_dynarmic_32.cpp
@@ -128,6 +128,7 @@ std::shared_ptr<Dynarmic::A32::Jit> ARM_Dynarmic_32::MakeJit(Common::PageTable*
if (page_table) {
config.page_table = reinterpret_cast<std::array<std::uint8_t*, NUM_PAGE_TABLE_ENTRIES>*>(
page_table->pointers.data());
+ config.fastmem_pointer = page_table->fastmem_arena;
}
config.absolute_offset_page_table = true;
config.page_table_pointer_mask_bits = Common::PageTable::ATTRIBUTE_BITS;
diff --git a/src/core/arm/dynarmic/arm_dynarmic_64.cpp b/src/core/arm/dynarmic/arm_dynarmic_64.cpp
index 63193dcb1..b0ac8cf8a 100644
--- a/src/core/arm/dynarmic/arm_dynarmic_64.cpp
+++ b/src/core/arm/dynarmic/arm_dynarmic_64.cpp
@@ -160,6 +160,10 @@ std::shared_ptr<Dynarmic::A64::Jit> ARM_Dynarmic_64::MakeJit(Common::PageTable*
config.absolute_offset_page_table = true;
config.detect_misaligned_access_via_page_table = 16 | 32 | 64 | 128;
config.only_detect_misalignment_via_page_table_on_page_boundary = true;
+
+ config.fastmem_pointer = page_table->fastmem_arena;
+ config.fastmem_address_space_bits = address_space_bits;
+ config.silently_mirror_fastmem = false;
}
// Multi-process state