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:
3 files changed
+372
No files matched your search
@@ -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)",
|
||||
|
||||
Reference in new issue
Block a user