summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/readable_event.cpp
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2020-04-29 06:53:53 +0200
committerDavid Marcec <dmarcecguzman@gmail.com>2020-04-29 06:53:53 +0200
commitb6538c3e7c4de8dbaf6db50a54e10f5e5cb52813 (patch)
tree20dbce57eddb9b4930fcc792badee679b9f961fe /src/core/hle/kernel/readable_event.cpp
parentMerge pull request #3771 from benru/dump-romfs-with-updates (diff)
downloadyuzu-b6538c3e7c4de8dbaf6db50a54e10f5e5cb52813.tar
yuzu-b6538c3e7c4de8dbaf6db50a54e10f5e5cb52813.tar.gz
yuzu-b6538c3e7c4de8dbaf6db50a54e10f5e5cb52813.tar.bz2
yuzu-b6538c3e7c4de8dbaf6db50a54e10f5e5cb52813.tar.lz
yuzu-b6538c3e7c4de8dbaf6db50a54e10f5e5cb52813.tar.xz
yuzu-b6538c3e7c4de8dbaf6db50a54e10f5e5cb52813.tar.zst
yuzu-b6538c3e7c4de8dbaf6db50a54e10f5e5cb52813.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/kernel/readable_event.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/kernel/readable_event.cpp b/src/core/hle/kernel/readable_event.cpp
index 9d3d3a81b..e2a404d07 100644
--- a/src/core/hle/kernel/readable_event.cpp
+++ b/src/core/hle/kernel/readable_event.cpp
@@ -4,6 +4,7 @@
#include <algorithm>
#include "common/assert.h"
+#include "common/logging/log.h"
#include "core/hle/kernel/errors.h"
#include "core/hle/kernel/object.h"
#include "core/hle/kernel/readable_event.h"
@@ -35,6 +36,8 @@ void ReadableEvent::Clear() {
ResultCode ReadableEvent::Reset() {
if (!is_signaled) {
+ LOG_ERROR(Kernel, "Handle is not signaled! object_id={}, object_type={}, object_name={}",
+ GetObjectId(), GetTypeName(), GetName());
return ERR_INVALID_STATE;
}