dynarmic: Use arm7 architecture

This commit is contained in:
scribam 2021-05-03 20:42:14 +02:00 committed by Nicolas Jallamion
parent 78d4078977
commit ecf91b429a
3 changed files with 2 additions and 2 deletions

2
.gitmodules vendored
View File

@ -86,7 +86,7 @@
url = https://github.com/Cyan4973/xxHash
[submodule "external/dynarmic"]
path = external/dynarmic
url=https://github.com/Vita3K/dynarmic.git
url = https://github.com/Vita3K/dynarmic.git
[submodule "external/fmt"]
path = external/fmt
url = https://github.com/fmtlib/fmt.git

View File

@ -155,7 +155,6 @@ endif()
set(DYNARMIC_TESTS OFF CACHE BOOL "")
set(DYNARMIC_NO_BUNDLED_FMT ON CACHE BOOL "")
set(DYNARMIC_USE_ARMV7 ON CACHE BOOL "")
add_subdirectory(dynarmic)
add_library(vita-toolchain INTERFACE)

View File

@ -160,6 +160,7 @@ public:
std::unique_ptr<Dynarmic::A32::Jit> make_jit(std::unique_ptr<ArmDynarmicCallback> &callback, MemState *mem) {
Dynarmic::A32::UserConfig config;
config.arch_version = Dynarmic::A32::ArchVersion::v7;
config.callbacks = callback.get();
config.fastmem_pointer = mem->memory.get();