Merge pull request #26 from CuteBooty/feat/skip-bink

feat(hle): skip the title's Bink movies on request (VICTORY_SKIP_BINK, off by default)
This commit is contained in:
trustno1-coder authored and GitHub committed 2026-11-27 01:31:50 -08:00
commit 1a94d3ad55
3 files changed
+372

No files matched your search

+7
View File
@@ -219,6 +219,10 @@ pub fn run(
inner: &resolver,
dlls: &dlls,
};
// The title's Bink exports go through the movie skipper when
// VICTORY_SKIP_BINK asks for it (bound as before otherwise); beneath
// the FidelityFX interposer, which only looks at its own DLL.
let with_dlls = victory_hle::modules::bink::SkipMovies { inner: &with_dlls };
let show = |name: &str, report: BindReport| {
println!(
"bound {name}: {} hle, {} host, {} title, {} missing",
@@ -495,6 +499,9 @@ impl LateDlls {
inner: &old,
dlls: &new,
};
// As at startup: Bink imports of DLLs loaded later too
// (VICTORY_SKIP_BINK; bound as before otherwise).
let resolver = victory_hle::modules::bink::SkipMovies { inner: &resolver };
for (name, dll) in &new {
println!(
"title dll {name} at {:#x} (loaded by the title)",