2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Event: Fix implementation of "non-sticky" events.

This commit is contained in:
bunnei 2015-01-19 03:30:55 -05:00
parent 9e6ec3b6cd
commit 69c5830ef2

View file

@ -33,6 +33,10 @@ public:
}
ResultVal<bool> Acquire() override {
// Release the event if it's not sticky...
if (reset_type != RESETTYPE_STICKY)
signaled = false;
return MakeResult<bool>(true);
}
};