Repository navigation
P2PMatchingReport: cfg_rollback_budget, logged by LBS - #444
Merged
Merged
Conversation
flycast's emu.cfg gdxsv:RollbackBudget at 8000 the battle start, as saved (the input delay uses it clamped to 0 to 1.5). rollback_budget stays reserved. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
inada-s
added a commit
to inada-s/flycast
that referenced
this pull request
Oct 26, 2026
…back_budget) gdxsv.pb.* regenerated from inada-s/gdxsv#444. The value is emu.cfg gdxsv:RollbackBudget at the battle start, before the 0 to 1.5 clamp. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
inada-s
enabled auto-merge
October 26, 2026 12:43
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
P2PMatchingReport.cfg_rollback_budget = 50(float): flycast'semu.cfggdxsv:RollbackBudgetat the battle start, as saved. The input delay uses it clamped to 0 to 1.5. The client side is inada-s/flycast#591 (rollback budget per PC). The delay itself is already ininput_delay.rollback_budgetstays reserved: aTimingStatswith that name lived for a few hours on 2026-10-24 (41b789f→a5afd17), sent only by dev builds and never by a release (both commits are first in flycast gdxsv-1.10.2). Thecfg_prefix marks a value straight from the emulator settings.Changes
gdxsv/proto/gdxsv.proto: the field;gdxsv.pb.goregenerated withmake protoc. Regenerating master before the change gave no diff.lbs_handler.go:p2pMatchingReportFieldslogscfg_rollback_budget.lbs_handler_test.go:Test_p2pMatchingReportFieldschecks it.Order
A client sending the field before this is deployed is harmless (unknown field). It is logged only after the LBS deploy.
Verified
go build ./...,go test ./gdxsv/...: ok.🤖 Generated with Claude Code