diff options
| author | 2018-04-30 03:24:27 -0400 | |
|---|---|---|
| committer | 2018-04-30 03:32:59 -0400 | |
| commit | 0197e28cc95e96e651eab555f512d0bb292e9215 (patch) | |
| tree | ed7367dd74a937809d9501b2d848e8e981b538ba /src/core/hle/kernel/thread.cpp | |
| parent | Merge pull request #424 from lioncash/string (diff) | |
| download | yuzu-0197e28cc95e96e651eab555f512d0bb292e9215.tar.gz yuzu-0197e28cc95e96e651eab555f512d0bb292e9215.tar.xz yuzu-0197e28cc95e96e651eab555f512d0bb292e9215.zip | |
core_timing: Namespace all functions and constants in core_timing's header
All of these variables and functions are related to timings and should be within the namespace.
Diffstat (limited to 'src/core/hle/kernel/thread.cpp')
| -rw-r--r-- | src/core/hle/kernel/thread.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index 63790ea00..1bd5d9ebf 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp | |||
| @@ -146,7 +146,8 @@ void Thread::WakeAfterDelay(s64 nanoseconds) { | |||
| 146 | if (nanoseconds == -1) | 146 | if (nanoseconds == -1) |
| 147 | return; | 147 | return; |
| 148 | 148 | ||
| 149 | CoreTiming::ScheduleEvent(nsToCycles(nanoseconds), ThreadWakeupEventType, callback_handle); | 149 | CoreTiming::ScheduleEvent(CoreTiming::nsToCycles(nanoseconds), ThreadWakeupEventType, |
| 150 | callback_handle); | ||
| 150 | } | 151 | } |
| 151 | 152 | ||
| 152 | void Thread::CancelWakeupTimer() { | 153 | void Thread::CancelWakeupTimer() { |