mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-21 08:00:54 +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 a new issue