mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-04 03:35:19 +02:00
Extends the cpu.stepInto treatment to cpu.stepOver, cpu.stepOut, cpu.runUntil, and cpu.nextHLE: each now routes its breakpoint/stepping manipulation through Core_RunOnCPUThread() instead of touching it directly from the WebSocket handler thread. cpu.runUntil didn't have an explicit "must be stepping" guard to begin with; since the CPU-thread queue is now drained unconditionally at the top of every Core_RunLoopUntil() iteration (not just while stepping), queuing from it is safe regardless of current core state. Also corrects a stale comment on Core_RunOnCPUThread() left over from before the drain point moved from Core_ProcessStepping() to the top of Core_RunLoopUntil() - it's not limited to the stepping/paused case. Replaced remaining `auto` locals in this file with concrete types. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Hqm11k99viLfbJm2MkH4BH