mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
Remove lv2_event_queue::check(weak_ptr)
This commit is contained in:
parent
c681395fb2
commit
8bd58b1ad4
8 changed files with 33 additions and 39 deletions
|
|
@ -1575,7 +1575,7 @@ error_code AudioSetNotifyEventQueue(u64 key, u32 iFlags)
|
|||
return CELL_AUDIO_ERROR_TRANS_EVENT;
|
||||
}
|
||||
|
||||
if (!lv2_event_queue::check(i->port))
|
||||
if (!lv2_obj::check(i->port))
|
||||
{
|
||||
// Cleanup, avoid cases where there are multiple ports with the same key
|
||||
i = g_audio.keys.erase(i);
|
||||
|
|
@ -1625,7 +1625,7 @@ error_code AudioRemoveNotifyEventQueue(u64 key, u32 iFlags)
|
|||
|
||||
for (auto i = g_audio.keys.cbegin(); i != g_audio.keys.cend(); i++)
|
||||
{
|
||||
if (lv2_event_queue::check(i->port) && i->port->key == key)
|
||||
if (lv2_obj::check(i->port) && i->port->key == key)
|
||||
{
|
||||
if (i->flags != iFlags)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue