diff options
author | Subv <subv2112@gmail.com> | 2016-11-19 20:00:08 +0100 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2016-11-19 20:00:08 +0100 |
commit | 4ab8692475306d630b001121caffadc874dd394e (patch) | |
tree | a0c30507c15341503b9e36113b1f6bacf91c353a /src/core/hle | |
parent | Merge pull request #2172 from jroweboy/fix-mingw (diff) | |
download | yuzu-4ab8692475306d630b001121caffadc874dd394e.tar yuzu-4ab8692475306d630b001121caffadc874dd394e.tar.gz yuzu-4ab8692475306d630b001121caffadc874dd394e.tar.bz2 yuzu-4ab8692475306d630b001121caffadc874dd394e.tar.lz yuzu-4ab8692475306d630b001121caffadc874dd394e.tar.xz yuzu-4ab8692475306d630b001121caffadc874dd394e.tar.zst yuzu-4ab8692475306d630b001121caffadc874dd394e.zip |
Diffstat (limited to 'src/core/hle')
-rw-r--r-- | src/core/hle/kernel/event.cpp | 5 | ||||
-rw-r--r-- | src/core/hle/kernel/timer.cpp | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/core/hle/kernel/event.cpp b/src/core/hle/kernel/event.cpp index 1489c7002..3e116e3df 100644 --- a/src/core/hle/kernel/event.cpp +++ b/src/core/hle/kernel/event.cpp @@ -22,6 +22,11 @@ SharedPtr<Event> Event::Create(ResetType reset_type, std::string name) { evt->reset_type = reset_type; evt->name = std::move(name); + if (reset_type == ResetType::Pulse) { + LOG_ERROR(Kernel, "Unimplemented event reset type Pulse"); + UNIMPLEMENTED(); + } + return evt; } diff --git a/src/core/hle/kernel/timer.cpp b/src/core/hle/kernel/timer.cpp index a9f98223c..eac181f4e 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; } |