mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-26 02:11:36 -04:00
b9ca600778
Brings the PSX runtime level with what recomp-ui's netplay pages now ask a host for, and with the SNES runner that already answers them (snes_lobby_client.c / snes_host_lobby.c): - Chat lines, seat rows and players-online rows carry the server's opaque account key, so the launcher's ignore/block list survives a rename. - psx_lobby_set_blocks pushes that list to the server as `set_blocks`, since refusing to pair or seat the two together is the server's job; recomp-ui re-sends it on every reconnect. - list_scope_set: a LAN player no longer sees online rooms they have no connection for, and an online player no longer sees their own LAN rows. - Automatch: rulesets discovery, the relay latency probe (14-byte LE frame, type 200 -> 201, nonce-matched), queue with the disc fingerprint, the accept gate with a locally counted deadline, requeue/cancel/cooldown, and claiming automatch's `error` codes only while a ticket is in flight. Leaving an automatch room after the match: it is the server's room, has no host to rematch with, and holding the seat blocks the next ticket. - Account: init the auth client once per URL rather than every pump (the login worker reads the host), anchor the device key to the executable directory, and publish the signed-in handle as the lobby display name. mods_enabled is asserted false on PSX: every netplay launch clears the mod plan or refuses to start, and the caps a match runs are the ruleset's. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FPXfGGhBBBxQPcEzaMsauF