mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-13 02:08:49 +12:00
Clean vm::ps3 namespace use
This commit is contained in:
parent
76be7d40ac
commit
cce0ad0c35
176 changed files with 693 additions and 698 deletions
|
@ -10,7 +10,7 @@
|
|||
#include "sys_process.h"
|
||||
#include "sys_event.h"
|
||||
|
||||
namespace vm { using namespace ps3; }
|
||||
|
||||
|
||||
logs::channel sys_event("sys_event");
|
||||
|
||||
|
@ -238,7 +238,7 @@ error_code sys_event_queue_receive(ppu_thread& ppu, u32 equeue_id, vm::ptr<sys_e
|
|||
}
|
||||
|
||||
semaphore_lock lock(queue.mutex);
|
||||
|
||||
|
||||
if (queue.events.empty())
|
||||
{
|
||||
queue.sq.emplace_back(&ppu);
|
||||
|
@ -334,7 +334,7 @@ error_code sys_event_port_create(vm::ptr<u32> eport_id, s32 port_type, u64 name)
|
|||
*eport_id = id;
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
|
||||
return CELL_EAGAIN;
|
||||
}
|
||||
|
||||
|
@ -372,7 +372,7 @@ error_code sys_event_port_connect_local(u32 eport_id, u32 equeue_id)
|
|||
writer_lock lock(id_manager::g_mutex);
|
||||
|
||||
const auto port = idm::check_unlocked<lv2_obj, lv2_event_port>(eport_id);
|
||||
|
||||
|
||||
if (!port || !idm::check_unlocked<lv2_obj, lv2_event_queue>(equeue_id))
|
||||
{
|
||||
return CELL_ESRCH;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue