summaryrefslogtreecommitdiff
path: root/src/core/arm/arm_interface.h
diff options
context:
space:
mode:
authorGravatar Fernando Sahmkow2020-03-28 15:23:28 -0400
committerGravatar Fernando Sahmkow2020-06-27 11:36:01 -0400
commitf5e32935ca9d1727624c86ca78aff91027caf819 (patch)
treea041186cd47fcea90880b300af3351a56fb819aa /src/core/arm/arm_interface.h
parentScheduler: Correct Reload/Unload (diff)
downloadyuzu-f5e32935ca9d1727624c86ca78aff91027caf819.tar.gz
yuzu-f5e32935ca9d1727624c86ca78aff91027caf819.tar.xz
yuzu-f5e32935ca9d1727624c86ca78aff91027caf819.zip
SingleCore: Use Cycle Timing instead of Host Timing.
Diffstat (limited to 'src/core/arm/arm_interface.h')
-rw-r--r--src/core/arm/arm_interface.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/arm/arm_interface.h b/src/core/arm/arm_interface.h
index e5c484336..fbdce4134 100644
--- a/src/core/arm/arm_interface.h
+++ b/src/core/arm/arm_interface.h
@@ -26,8 +26,9 @@ using CPUInterrupts = std::array<CPUInterruptHandler, Core::Hardware::NUM_CPU_CO
26/// Generic ARMv8 CPU interface 26/// Generic ARMv8 CPU interface
27class ARM_Interface : NonCopyable { 27class ARM_Interface : NonCopyable {
28public: 28public:
29 explicit ARM_Interface(System& system_, CPUInterrupts& interrupt_handlers) 29 explicit ARM_Interface(System& system_, CPUInterrupts& interrupt_handlers, bool uses_wall_clock)
30 : system{system_}, interrupt_handlers{interrupt_handlers} {} 30 : system{system_}, interrupt_handlers{interrupt_handlers}, uses_wall_clock{
31 uses_wall_clock} {}
31 virtual ~ARM_Interface() = default; 32 virtual ~ARM_Interface() = default;
32 33
33 struct ThreadContext32 { 34 struct ThreadContext32 {
@@ -186,6 +187,7 @@ protected:
186 /// System context that this ARM interface is running under. 187 /// System context that this ARM interface is running under.
187 System& system; 188 System& system;
188 CPUInterrupts& interrupt_handlers; 189 CPUInterrupts& interrupt_handlers;
190 bool uses_wall_clock;
189}; 191};
190 192
191} // namespace Core 193} // namespace Core