aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/timer.cpp
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2016-11-19 14:00:08 -0500
committerSubv <subv2112@gmail.com>2016-11-19 14:00:08 -0500
commit4ab8692475306d630b001121caffadc874dd394e (patch)
treea0c30507c15341503b9e36113b1f6bacf91c353a /src/core/hle/kernel/timer.cpp
parentfb13bfe693e9536df700b675fef3affe09622fdd (diff)
Kernel/Events: Log an error when trying to create Pulse events and timers.
Related to #1904
Diffstat (limited to 'src/core/hle/kernel/timer.cpp')
-rw-r--r--src/core/hle/kernel/timer.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/hle/kernel/timer.cpp b/src/core/hle/kernel/timer.cpp
index a9f98223c1..eac181f4ea 100644
--- a/src/core/hle/kernel/timer.cpp
+++ b/src/core/hle/kernel/timer.cpp
@@ -31,6 +31,11 @@ SharedPtr<Timer> Timer::Create(ResetType reset_type, std::string name) {
timer->interval_delay = 0;
timer->callback_handle = timer_callback_handle_table.Create(timer).MoveFrom();
+ if (reset_type == ResetType::Pulse) {
+ LOG_ERROR(Kernel, "Unimplemented timer reset type Pulse");
+ UNIMPLEMENTED();
+ }
+
return timer;
}