Enough XMP to play (fake) play media.

This commit is contained in:
Ben Vanik
2015-01-11 00:28:24 -08:00
parent f5e12eba76
commit b6b27e621a
6 changed files with 343 additions and 67 deletions

View File

@@ -36,7 +36,7 @@ void XNotifyListener::Initialize(uint64_t mask) {
void XNotifyListener::EnqueueNotification(XNotificationID id, uint32_t data) {
// Ignore if the notification doesn't match our mask.
if ((mask_ & uint64_t(1 << ((id >> 25) + 1))) == 0) {
if ((mask_ & uint64_t(1 << (id >> 25))) == 0) {
return;
}