mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-22 10:49:05 +02:00
input.buttons.press, gpu.stats.get, gpu.record.dump and the game.state.* operations with wait answer later with a message carrying the request's ticket. Their deferred acknowledgement carried that ticket too, and wsdbg took it for the answer, so a waited save that failed exited 0 and --sync moved on before it was done. Handlers that answer this way now call ReplyLater(), and the deferred event says "replyFollows": true. wsdbg keeps waiting for the reply in one-shot mode, under --sync and for :nowait lines. An error reply or a missing one to a :nowait line now fails the run, a raw line can't reuse a ticket that is still pending, and auto-assigned tickets skip past ones a raw line chose. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>