Merge pull request #1918 from MerryMage/cntfrq

arm_dynarmic: Set CNTFRQ value
This commit is contained in:
bunnei 2018-12-18 14:13:35 -05:00 committed by GitHub
commit 5bae002aaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;