mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 14:37:08 +00:00
New functions
sys_spu_thread_bind_queue, sys_spu_thread_connect_event and SPU-side sys_spu_thread_receive_event, sys_spu_thread_send_event Fixed event system Fixed SleepQueue priority alg Audio: cellAudioGetPortTimestamp and cellAudioGetPortBlockTag
This commit is contained in:
parent
81147506f0
commit
b56df0c7f6
10 changed files with 477 additions and 197 deletions
|
|
@ -26,6 +26,11 @@ bool EventManager::RegisterKey(EventQueue* data, u64 key)
|
|||
|
||||
if (key_map.find(key) != key_map.end()) return false;
|
||||
|
||||
for (auto& v = key_map.begin(); v != key_map.end(); ++v)
|
||||
{
|
||||
if (v->second == data) return false;
|
||||
}
|
||||
|
||||
key_map[key] = data;
|
||||
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue