mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 16:53:40 +01:00
Debugger: Serve a simple log listener WebSocket.
Planning to add more functionality to it, and sharing the reporting port is possibly not ideal - although it would make discovery easier.
This commit is contained in:
1 parent
d1b06bbd41
commit
c2b9b5a9e8
8 files changed
+168
-1
No files matched your search
@@ -29,6 +29,7 @@
|
||||
#include "Common/FileUtil.h"
|
||||
#include "Common/Log.h"
|
||||
#include "Core/Config.h"
|
||||
#include "Core/Debugger/WebSocket.h"
|
||||
#include "Core/WebServer.h"
|
||||
|
||||
enum class ServerStatus {
|
||||
@@ -188,6 +189,9 @@ static void ExecuteWebServer() {
|
||||
if (serverFlags & (int)WebServerFlags::DISCS) {
|
||||
RegisterDiscHandlers(http, &discPaths);
|
||||
}
|
||||
if (serverFlags & (int)WebServerFlags::DEBUGGER) {
|
||||
http->RegisterHandler("/debugger", &HandleDebuggerRequest);
|
||||
}
|
||||
|
||||
if (!http->Listen(g_Config.iRemoteISOPort)) {
|
||||
if (!http->Listen(0)) {
|
||||
|
||||
Reference in new issue
Block a user