Reuse the file read buffer for title images #4707
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!4707
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-4706"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@topangag on GitHub · 2026-12-01 02:37 UTC · original
topangag:codex/reuse-title-image-read-buffer→main· +33 −12 · 4 files · 2 commits · closed without mergingWhat it changes
Preparing a title executable or DLL cloned the file-sized buffer after reading it into memory. The owned preparation path patches the original read buffer in place and preserves the original hash and prepared bytes. The executable and DLL loaders use this path and release the buffer after mapping. The slice-based API remains available.
How it was tested
cargo test --locked -p victory-loader --lib -j 3. The regression test checks allocation identity, the original hash, and the patched bytes. The tested tree matches this branch.cargo xtask policy --stagedpassed for the four Rust files.git diff --checkpassed.Checked for overlap
Pull request closed