WIP: Settings menu: save and close, and restart, save the host pipeline library before the process ends at once #64
Loading…
Reference in a new issue
No description provided.
Delete branch "Sobo/Darner:menu-library-save"
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?
Co-Authored-By: Claude Opus 5.5 [email protected]
Fluxer-ID: 1577742832095989771
Contributor role (optional)
What it changes
F1's SAVE AND CLOSE GAME and save-and-restart end the process at once with
TerminateProcess(so Streamline's unloading cannot hang it). The host pipeline library was not saved first: every pipeline made since the last interval save was lost, and the next run compiled them again ("the save its interval held back" in the log, then the process ended). Both paths now callcrate::pipeline::save_library_now()(the library's save withnow) before ending the process.How it was tested
main4a92569fb(git.gtahub.st) with this patch applied. Build check:cargo clippy -p darner-gpu --all-targets --target x86_64-pc-windows-msvc --locked -- -D warnings: clean.cargo testwas not run (no Windows machine for the checks). The gameplay numbers below come from my own builds, which carried this change together with other local changes (same scene, settings and hardware before and after).darner warm --used --againwithDARNER_WARM_SHARED=1.Checklist
main.docs/asset-policy.md.Checked for overlap