diff options
Diffstat (limited to 'src/core/hle/svc.cpp')
| -rw-r--r-- | src/core/hle/svc.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/hle/svc.cpp b/src/core/hle/svc.cpp index 17385f9b2..bbb4eb9cd 100644 --- a/src/core/hle/svc.cpp +++ b/src/core/hle/svc.cpp | |||
| @@ -7,8 +7,9 @@ | |||
| 7 | #include "common/string_util.h" | 7 | #include "common/string_util.h" |
| 8 | #include "common/symbols.h" | 8 | #include "common/symbols.h" |
| 9 | 9 | ||
| 10 | #include "core/arm/arm_interface.h" | 10 | #include "core/core_timing.h" |
| 11 | #include "core/mem_map.h" | 11 | #include "core/mem_map.h" |
| 12 | #include "core/arm/arm_interface.h" | ||
| 12 | 13 | ||
| 13 | #include "core/hle/kernel/address_arbiter.h" | 14 | #include "core/hle/kernel/address_arbiter.h" |
| 14 | #include "core/hle/kernel/event.h" | 15 | #include "core/hle/kernel/event.h" |
| @@ -551,7 +552,7 @@ static void SleepThread(s64 nanoseconds) { | |||
| 551 | 552 | ||
| 552 | /// This returns the total CPU ticks elapsed since the CPU was powered-on | 553 | /// This returns the total CPU ticks elapsed since the CPU was powered-on |
| 553 | static s64 GetSystemTick() { | 554 | static s64 GetSystemTick() { |
| 554 | return (s64)Core::g_app_core->GetTicks(); | 555 | return (s64)CoreTiming::GetTicks(); |
| 555 | } | 556 | } |
| 556 | 557 | ||
| 557 | /// Creates a memory block at the specified address with the specified permissions and size | 558 | /// Creates a memory block at the specified address with the specified permissions and size |