summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorGravatar Lioncash2019-01-30 12:27:02 -0500
committerGravatar Lioncash2019-01-30 12:45:00 -0500
commit4596ef5274e05c5e022bd21ba7472ef6ab915eb8 (patch)
tree70b1741e66c8ab59bc8efe5605683973fd6dc1fd /src/core
parentkernel/readable_event: Remove unnecessary WakeupAllWaitingThreads() override (diff)
downloadyuzu-4596ef5274e05c5e022bd21ba7472ef6ab915eb8.tar.gz
yuzu-4596ef5274e05c5e022bd21ba7472ef6ab915eb8.tar.xz
yuzu-4596ef5274e05c5e022bd21ba7472ef6ab915eb8.zip
kernel/timer: Remove unnecessary WakeupAllWaitingThreads() override
This implementation just calls the base class variant of the function, so this isn't necessary.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/kernel/timer.cpp4
-rw-r--r--src/core/hle/kernel/timer.h2
2 files changed, 0 insertions, 6 deletions
diff --git a/src/core/hle/kernel/timer.cpp b/src/core/hle/kernel/timer.cpp
index 2c4f50e2b..3afe60469 100644
--- a/src/core/hle/kernel/timer.cpp
+++ b/src/core/hle/kernel/timer.cpp
@@ -66,10 +66,6 @@ void Timer::Clear() {
66 signaled = false; 66 signaled = false;
67} 67}
68 68
69void Timer::WakeupAllWaitingThreads() {
70 WaitObject::WakeupAllWaitingThreads();
71}
72
73void Timer::Signal(int cycles_late) { 69void Timer::Signal(int cycles_late) {
74 LOG_TRACE(Kernel, "Timer {} fired", GetObjectId()); 70 LOG_TRACE(Kernel, "Timer {} fired", GetObjectId());
75 71
diff --git a/src/core/hle/kernel/timer.h b/src/core/hle/kernel/timer.h
index 12915c1b1..ce3e74426 100644
--- a/src/core/hle/kernel/timer.h
+++ b/src/core/hle/kernel/timer.h
@@ -51,8 +51,6 @@ public:
51 bool ShouldWait(Thread* thread) const override; 51 bool ShouldWait(Thread* thread) const override;
52 void Acquire(Thread* thread) override; 52 void Acquire(Thread* thread) override;
53 53
54 void WakeupAllWaitingThreads() override;
55
56 /** 54 /**
57 * Starts the timer, with the specified initial delay and interval. 55 * Starts the timer, with the specified initial delay and interval.
58 * @param initial Delay until the timer is first fired 56 * @param initial Delay until the timer is first fired