mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-26 04:32:35 +01:00
Add missng check for key in cellAudioSetNotifyEventQueue
key is checked once according to hw test.
This commit is contained in:
parent
3be92ec52b
commit
33fe0fdd6b
@ -1376,6 +1376,11 @@ error_code cellAudioSetNotifyEventQueue(u64 key)
|
||||
return CELL_AUDIO_ERROR_NOT_INIT;
|
||||
}
|
||||
|
||||
if (!lv2_event_queue::find(key))
|
||||
{
|
||||
return CELL_AUDIO_ERROR_TRANS_EVENT;
|
||||
}
|
||||
|
||||
for (auto k : g_audio->keys) // check for duplicates
|
||||
{
|
||||
if (k == key)
|
||||
|
Loading…
Reference in New Issue
Block a user