mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 09:13:39 +01:00
Added WebsocketClientInfo
This commit is contained in:
1 parent
c533187e24
commit
7f0828c659
3 files changed
+26
-3
No files matched your search
@@ -138,6 +138,8 @@ void HandleDebuggerRequest(const http::Request &request) {
|
||||
UpdateConnected(1);
|
||||
SetupDebuggerLock();
|
||||
|
||||
WebSocketClientInfo client_info;
|
||||
|
||||
GameBroadcaster game;
|
||||
LogBroadcaster logger;
|
||||
InputBroadcaster input;
|
||||
@@ -166,7 +168,7 @@ void HandleDebuggerRequest(const http::Request &request) {
|
||||
return;
|
||||
}
|
||||
|
||||
DebuggerRequest req(event, ws, root);
|
||||
DebuggerRequest req(event, ws, root, &client_info);
|
||||
auto eventFunc = eventHandlers.find(event);
|
||||
if (eventFunc != eventHandlers.end()) {
|
||||
std::lock_guard<std::mutex> guard(lifecycleLock);
|
||||
|
||||
Reference in new issue
Block a user