diff options
author | Liam <byteslice@airmail.cc> | 2023-07-22 01:27:18 +0200 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-07-22 01:37:29 +0200 |
commit | 05bc024260bdd2a7ff2319b779bbfdc5da71c4db (patch) | |
tree | 2b636c0ecf2af3c1753939298f5be6ac5b69f7f3 /src/core/arm/dynarmic/arm_dynarmic_32.cpp | |
parent | general: reduce use of dynamic_cast (diff) | |
download | yuzu-05bc024260bdd2a7ff2319b779bbfdc5da71c4db.tar yuzu-05bc024260bdd2a7ff2319b779bbfdc5da71c4db.tar.gz yuzu-05bc024260bdd2a7ff2319b779bbfdc5da71c4db.tar.bz2 yuzu-05bc024260bdd2a7ff2319b779bbfdc5da71c4db.tar.lz yuzu-05bc024260bdd2a7ff2319b779bbfdc5da71c4db.tar.xz yuzu-05bc024260bdd2a7ff2319b779bbfdc5da71c4db.tar.zst yuzu-05bc024260bdd2a7ff2319b779bbfdc5da71c4db.zip |
Diffstat (limited to 'src/core/arm/dynarmic/arm_dynarmic_32.cpp')
-rw-r--r-- | src/core/arm/dynarmic/arm_dynarmic_32.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/arm/dynarmic/arm_dynarmic_32.cpp b/src/core/arm/dynarmic/arm_dynarmic_32.cpp index 3b82fb73c..c97158a71 100644 --- a/src/core/arm/dynarmic/arm_dynarmic_32.cpp +++ b/src/core/arm/dynarmic/arm_dynarmic_32.cpp @@ -346,11 +346,11 @@ void ARM_Dynarmic_32::RewindBreakpointInstruction() { } ARM_Dynarmic_32::ARM_Dynarmic_32(System& system_, bool uses_wall_clock_, - ExclusiveMonitor& exclusive_monitor_, std::size_t core_index_) + DynarmicExclusiveMonitor& exclusive_monitor_, + std::size_t core_index_) : ARM_Interface{system_, uses_wall_clock_}, cb(std::make_unique<DynarmicCallbacks32>(*this)), cp15(std::make_shared<DynarmicCP15>(*this)), core_index{core_index_}, - exclusive_monitor{dynamic_cast<DynarmicExclusiveMonitor&>(exclusive_monitor_)}, - null_jit{MakeJit(nullptr)}, jit{null_jit.get()} {} + exclusive_monitor{exclusive_monitor_}, null_jit{MakeJit(nullptr)}, jit{null_jit.get()} {} ARM_Dynarmic_32::~ARM_Dynarmic_32() = default; |