diff options
author | Liam <byteslice@airmail.cc> | 2023-08-15 00:12:06 +0200 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-08-15 00:12:06 +0200 |
commit | 0bd9a4456c49b1e5de8f659682a814bb4b5854d2 (patch) | |
tree | 1a9575d019cbab012f2dd3f56675be604737f79a /src/core/hle/kernel/k_hardware_timer.h | |
parent | Merge pull request #11282 from ameerj/glasm-xfb (diff) | |
download | yuzu-0bd9a4456c49b1e5de8f659682a814bb4b5854d2.tar yuzu-0bd9a4456c49b1e5de8f659682a814bb4b5854d2.tar.gz yuzu-0bd9a4456c49b1e5de8f659682a814bb4b5854d2.tar.bz2 yuzu-0bd9a4456c49b1e5de8f659682a814bb4b5854d2.tar.lz yuzu-0bd9a4456c49b1e5de8f659682a814bb4b5854d2.tar.xz yuzu-0bd9a4456c49b1e5de8f659682a814bb4b5854d2.tar.zst yuzu-0bd9a4456c49b1e5de8f659682a814bb4b5854d2.zip |
Diffstat (limited to 'src/core/hle/kernel/k_hardware_timer.h')
-rw-r--r-- | src/core/hle/kernel/k_hardware_timer.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/core/hle/kernel/k_hardware_timer.h b/src/core/hle/kernel/k_hardware_timer.h index 00bef6ea1..27f43cd19 100644 --- a/src/core/hle/kernel/k_hardware_timer.h +++ b/src/core/hle/kernel/k_hardware_timer.h @@ -19,13 +19,7 @@ public: void Initialize(); void Finalize(); - s64 GetCount() const { - return GetTick(); - } - - void RegisterTask(KTimerTask* task, s64 time_from_now) { - this->RegisterAbsoluteTask(task, GetTick() + time_from_now); - } + s64 GetTick() const; void RegisterAbsoluteTask(KTimerTask* task, s64 task_time) { KScopedDisableDispatch dd{m_kernel}; @@ -42,7 +36,6 @@ private: void EnableInterrupt(s64 wakeup_time); void DisableInterrupt(); bool GetInterruptEnabled(); - s64 GetTick() const; void DoTask(); private: |