mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-03 14:48:46 +00:00
More logging
This commit is contained in:
parent
c05a5223ca
commit
7d80d133eb
1 changed files with 3 additions and 0 deletions
|
@ -111,6 +111,7 @@ int PS4_SYSV_ABI sceUserServiceGetDiscPlayerFlag() {
|
||||||
std::queue<OrbisUserServiceEvent> user_service_event_queue = {};
|
std::queue<OrbisUserServiceEvent> user_service_event_queue = {};
|
||||||
|
|
||||||
void AddUserServiceEvent(const OrbisUserServiceEvent e) {
|
void AddUserServiceEvent(const OrbisUserServiceEvent e) {
|
||||||
|
LOG_DEBUG(Lib_UserService, "Event added to queue: {} {}", (u8)e.event, e.userId);
|
||||||
user_service_event_queue.push(e);
|
user_service_event_queue.push(e);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -122,6 +123,8 @@ s32 PS4_SYSV_ABI sceUserServiceGetEvent(OrbisUserServiceEvent* event) {
|
||||||
event->event = temp.event;
|
event->event = temp.event;
|
||||||
event->userId = temp.userId;
|
event->userId = temp.userId;
|
||||||
user_service_event_queue.pop();
|
user_service_event_queue.pop();
|
||||||
|
LOG_INFO(Lib_UserService, "Event processed by the game: {} {}", (u8)temp.event,
|
||||||
|
temp.userId);
|
||||||
return ORBIS_OK;
|
return ORBIS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue