mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-03 19:25:18 +02:00
game.status, game.reset and version all read PSP_GetBootState(), g_paramSFO, GetUIState() and PSP_CoreParameter() straight from the WebSocket thread, where they race with a game being torn down or booted. Route them through Core_RunOnCPUThread() like the other subscribers already do. Part of removing the WebSocket debugger's lifecycleLock, which is currently what stops these racing with teardown. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GZq8ZtJmFY7bkX5FVkr3P9