OXYGENHUB

core: stub the server under emscripten too (no TCP server in the browser) 69f777699a51

Git-Commit: 35cc5009f86826758008b42a1497f22eeb30af21
Git-Author: Andy McCall <[email protected]>
Author
Andy McCall @andymccall <[email protected]>
When
· 2026-07-19 19:58 UTC
Signature
◈ sealed by Andy McCall
Hash
69f777699a51a32488de73712a46a06bcb392a6e1f12896d385bd4b3b44b3884
Depends on
961b3c610c66
Depended on by
nothing yet
In bookmarks
main perf-6
Edits
2 atoms, 0 tree operations, 1 file

Browse the tree at this change

modified core/retro_control.c +3 −2
…
10 unchanged lines
11 11
#include <stdlib.h>
12 12
#include <string.h>
13 13
14 -
#if defined(_WIN32)
15 -
/* No server on Windows for now — stub out so the fork still builds. */
14 +
#if defined(_WIN32) || defined(__EMSCRIPTEN__)
15 +
/* No TCP control server on Windows or in the browser (emscripten) — a localhost
16 +
 * socket server has no meaning there. Stub out so those builds still link. */
16 17
int  retro_control_start(int port, const retro_control_backend_t *b) { (void)port; (void)b; return -1; }
17 18
void retro_control_service(void) {}
18 19
int  retro_control_running(void) { return 1; }
…
344 unchanged lines