mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-08-31 17:55:23 +02:00
The WebSocket debugger reads it from its own thread (input.buttons.press counts down frames against it) while the CPU thread bumps it. Note the input subscriber and broadcaster need no other changes for thread safety: __CtrlUpdateButtons, __CtrlSetAnalogXY, __CtrlPeekButtons and __CtrlPeekAnalog all take ctrlMutex internally, so routing them through Core_RunOnCPUThread() would only add a blocking round trip. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GZq8ZtJmFY7bkX5FVkr3P9