mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Three things still touched CPU-thread-owned state from the WebSocket thread: - Breakpoint conditions were compiled in Parse(), and resolving symbols in an expression goes through g_symbolMap, which is destroyed on shutdown. Compiled inside the queued callback now, before anything is mutated, so a bad expression still fails without leaving a breakpoint behind. - gpu.record.dump dereferenced the gpu pointer, which is created and destroyed on the CPU thread. - gpu.stats.feed bumped PSP_ForceDebugStats' plain counter. Also makes g_bootState atomic - it's read as a fast-fail from the debugger thread all over while the CPU and loader threads move it along. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01GZq8ZtJmFY7bkX5FVkr3P9