8000 zdxsv seams: few-line inline changes in upstream files, marked and listed in upstream.md by inada-s-ai[bot] · Pull Request #694 · inada-s/pcsx2 · GitHub
[go: up one dir, main page]

Skip to content

zdxsv seams: few-line inline changes in upstream files, marked and listed in upstream.md - #694

Merged
inada-s-ai[bot] merged 1 commit into
zdxsv-masterfrom
ai/upstream-seams
Nov 19, 2026
Merged

inada-s-ai[bot] merged 1 commit into
zdxsv-masterfrom
ai/upstream-seams

Conversation

@inada-s-ai
@inada-s-ai inada-s-ai Bot commented Nov 19, 2026
Copy link
Copy Markdown

Description of Changes

  • AGENTS.md, Seams With Upstream Code: same policy as the gdxsv flycast fork. A zdxsv feature of its own lives in pcsx2/Zdxsv/ behind a hook; a change of a few lines that reads naturally in place stays inline. Every changed spot in an upstream file is marked (Zdxsv:: / Zdxsv/ include, else // zdxsv: <why>) and listed in docs/zdxsv/upstream.md.
  • docs/zdxsv/upstream.md (new): fork point, added files, changed third-party code, changed upstream files by area, and the generated list of all 364 changed spots.
  • tools/zdxsv/upstream_spots.py (new): finds the spots against the fork point, checks markers, regenerates the list (--write). Fork point: the upstream merge base, or fd9d310cc while that is older (upstream rewrote the commits the fork started from).
  • 161 spots are not marked yet; they are listed as "not marked yet". Marking them follows in separate PRs, area by area. Until then the tool exits 1, so it is not a CI step yet.

Rationale behind Changes

The old rule ("an upstream file gets only an include and a one-line call") did not hold in many files (DEV9.cpp, vtlb.cpp, VUops.cpp, FPU.cpp, spu2freeze.cpp, ...). A rule that is broken everywhere gets read loosely. This replaces it with one the code can follow and a list that shows every spot where upstream merges can conflict.

Suggested Testing Steps

  • python tools/zdxsv/upstream_spots.py → 364 spots, 161 unmarked, base fd9d310ccb, list up to date (Windows, windows-mini).
  • Control (windows-mini): a // zdxsv: test marker. added inside the unmarked common/Console.h spot → 160 unmarked, row described, list stale; reverted.
  • Docs and a Python tool only, no build. Merges cleanly with open PR 693 (git merge-tree).

Did you use AI to help find, test, or implement this issue or feature?

Yes: written and checked by Claude Code (inada-s-ai bot) for https://github.com/inada-s/ai-automation/issues/226.

🤖 Generated with Claude Code

…and listed in docs/zdxsv/upstream.md

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@inada-s-ai
inada-s-ai Bot enabled auto-merge November 19, 2026 00:45
@inada-s-ai
inada-s-ai Bot merged commit 85fac54 into zdxsv-master Nov 19, 2026
4 checks passed
@inada-s-ai
inada-s-ai Bot deleted the ai/upstream-seams branch November 19, 2026 00:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants

0