Browse Source
Merge pull request #1918 from MerryMage/cntfrq
arm_dynarmic: Set CNTFRQ value
pull/15/merge
bunnei
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
src/core/arm/dynarmic/arm_dynarmic.cpp
|
|
|
@ -151,6 +151,7 @@ std::unique_ptr<Dynarmic::A64::Jit> ARM_Dynarmic::MakeJit() const { |
|
|
|
config.tpidr_el0 = &cb->tpidr_el0; |
|
|
|
config.dczid_el0 = 4; |
|
|
|
config.ctr_el0 = 0x8444c004; |
|
|
|
config.cntfrq_el0 = 19200000; // Value from fusee.
|
|
|
|
|
|
|
|
// Unpredictable instructions
|
|
|
|
config.define_unpredictable_behaviour = true; |
|
|
|
|