summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2020-04-29 05:15:04 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2020-06-27 17:36:12 +0200
commitdda6147b0dc882c053fc02c987aa87140471649a (patch)
tree7934bb759b01c40ad1be1a33ac1a8fca8c62def1 /src/core
parentCoreTiming: Correct rebase bugs and other miscellaneous things. (diff)
downloadyuzu-dda6147b0dc882c053fc02c987aa87140471649a.tar
yuzu-dda6147b0dc882c053fc02c987aa87140471649a.tar.gz
yuzu-dda6147b0dc882c053fc02c987aa87140471649a.tar.bz2
yuzu-dda6147b0dc882c053fc02c987aa87140471649a.tar.lz
yuzu-dda6147b0dc882c053fc02c987aa87140471649a.tar.xz
yuzu-dda6147b0dc882c053fc02c987aa87140471649a.tar.zst
yuzu-dda6147b0dc882c053fc02c987aa87140471649a.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/arm/dynarmic/arm_dynarmic_64.cpp4
-rw-r--r--src/core/arm/unicorn/arm_unicorn.cpp4
-rw-r--r--src/core/arm/unicorn/arm_unicorn.h2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/core/arm/dynarmic/arm_dynarmic_64.cpp b/src/core/arm/dynarmic/arm_dynarmic_64.cpp
index 99eb2ea4a..226fd4915 100644
--- a/src/core/arm/dynarmic/arm_dynarmic_64.cpp
+++ b/src/core/arm/dynarmic/arm_dynarmic_64.cpp
@@ -212,8 +212,8 @@ void ARM_Dynarmic_64::Step() {
ARM_Dynarmic_64::ARM_Dynarmic_64(System& system, CPUInterrupts& interrupt_handlers,
bool uses_wall_clock, ExclusiveMonitor& exclusive_monitor,
std::size_t core_index)
- : ARM_Interface{system, interrupt_handler, uses_wall_clock},
- cb(std::make_unique<DynarmicCallbacks64>(*this)), inner_unicorn{system, interrupt_handler,
+ : ARM_Interface{system, interrupt_handlers, uses_wall_clock},
+ cb(std::make_unique<DynarmicCallbacks64>(*this)), inner_unicorn{system, interrupt_handlers,
uses_wall_clock,
ARM_Unicorn::Arch::AArch64,
core_index},
diff --git a/src/core/arm/unicorn/arm_unicorn.cpp b/src/core/arm/unicorn/arm_unicorn.cpp
index 1cb71942b..9f9690454 100644
--- a/src/core/arm/unicorn/arm_unicorn.cpp
+++ b/src/core/arm/unicorn/arm_unicorn.cpp
@@ -63,9 +63,9 @@ static bool UnmappedMemoryHook(uc_engine* uc, uc_mem_type type, u64 addr, int si
return false;
}
-ARM_Unicorn::ARM_Unicorn(System& system, CPUInterruptHandler& interrupt_handler,
+ARM_Unicorn::ARM_Unicorn(System& system, CPUInterrupts& interrupt_handlers,
bool uses_wall_clock, Arch architecture, std::size_t core_index)
- : ARM_Interface{system, interrupt_handler, uses_wall_clock}, core_index{core_index} {
+ : ARM_Interface{system, interrupt_handlers, uses_wall_clock}, core_index{core_index} {
const auto arch = architecture == Arch::AArch32 ? UC_ARCH_ARM : UC_ARCH_ARM64;
CHECKED(uc_open(arch, UC_MODE_ARM, &uc));
diff --git a/src/core/arm/unicorn/arm_unicorn.h b/src/core/arm/unicorn/arm_unicorn.h
index a01751e65..9b7d7f6c2 100644
--- a/src/core/arm/unicorn/arm_unicorn.h
+++ b/src/core/arm/unicorn/arm_unicorn.h
@@ -20,7 +20,7 @@ public:
AArch64, // 64-bit ARM
};
- explicit ARM_Unicorn(System& system, CPUInterruptHandler& interrupt_handler,
+ explicit ARM_Unicorn(System& system, CPUInterrupts& interrupt_handlers,
bool uses_wall_clock, Arch architecture, std::size_t core_index);
~ARM_Unicorn() override;