Skip to content

Play your own Switch games on iPhone/iPad — one-click macOS app, no terminal. | 把 Switch 游戏装进 iPhone:图形界面一键构建,不用命令行。Bring your own game.

Fold the MULTIPLAYER.md fix into the fork docs patch

v0lumehi9b7fa03a6d19
diff --git a/patches/0015-fork-docs.patch b/patches/0015-fork-docs.patch
index cf2d6128..e1ba34a0 100644
--- a/patches/0015-fork-docs.patch
+++ b/patches/0015-fork-docs.patch
@@ -140,7 +140,7 @@ index 00000000..5808b59e
+**Install on** uses this route.
diff --git a/docs/MULTIPLAYER.md b/docs/MULTIPLAYER.md
new file mode 100644
-index 00000000..f29c8188
+index 00000000..8b5460c3
--- /dev/null
+++ b/docs/MULTIPLAYER.md
@@ -0,0 +1,139 @@
@@ -253,7 +253,7 @@ index 00000000..f29c8188
+| Layer | Content | Where it would live |
+|---|---|---|
+| 1. BSD sockets | `socket`/`bind`/`sendto`/`recvfrom`/`poll`/`select` over the virtual network, with the errno conventions the SDK expects | new `dm/host/hle_bsd.c` (replaces the offline stubs in `hle_offline.c`) |
-+| 2. Virtual network | address/MASK/gateway, per-port socket registry, broadcast rules, receive queues, wake-on-packet for `poll` | new `dm/host/dm_vnet.c` |
++| 2. Virtual network | address/mask/gateway, per-port socket registry, broadcast rules, receive queues, wake-on-packet for `poll` | new `dm/host/dm_vnet.c` |
+| 3. Transports | lan-play framing and reassembly, LAN broadcast, wireless via mDNS | one file per transport |
+| 4. `ldn` / `nifm` | make the game believe a session can exist, per-game payload mapping | `hle_ldn.c`, and per-game code |
+