From 5627e3abb5092583ea76040cefc57f442c743d20 Mon Sep 17 00:00:00 2001 From: Cancerous Date: Thu, 5 Dec 2019 09:37:13 -0500 Subject: [PATCH] [Kernel] More adjustment to XNotification spam filter --- src/xenia/kernel/xnotifylistener.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xenia/kernel/xnotifylistener.cc b/src/xenia/kernel/xnotifylistener.cc index 26644c235..a24643c88 100644 --- a/src/xenia/kernel/xnotifylistener.cc +++ b/src/xenia/kernel/xnotifylistener.cc @@ -35,8 +35,8 @@ void XNotifyListener::EnqueueNotification(XNotificationID id, uint32_t data) { // TODO(Gliniak): (confirm) mask 0x01 means accept all XELOGI("XnotifyListener::EnqueueNotification( Mask: %.8X ID: %.8X Drop?:(%X) )", mask_, id, - ((mask_ & ((id >> 25) & 0x3F)) == 0 && (mask_ != 0x01) && ((id >> 5) != 0))); - if ((mask_ & ((id >> 25) & 0x3F)) == 0 && (mask_ != 0x01) && ((id >> 5) != 0)) { + ((mask_ & ((id >> 25) & 0x3F)) == 0 && (mask_ != 0x01) && ((id >> 8) != 0))); + if ((mask_ & ((id >> 25) & 0x3F)) == 0 && (mask_ != 0x01) && ((id >> 8) != 0)) { return; }