victory-gta6: this fork's changes on top of VIctory main (ffe310e)
World rendering, lighting, frame-rate and memory work for Grand Theft Auto VI (Xbox Series X profile) on one Windows PC with an NVIDIA RTX 4070. The README describes the state, the changes and the credits. Based on VIctory by Marvisak and contributors (GPL-3.0-or-later); XCL by ivall and contributors was used as a reference. No game files are included. Co-Authored-By: Claude Fable 5.2 <[email protected]>
This commit is contained in:
1 parent
45c6e80601
commit
6fa814fba5
61 files changed
+32259
-1274
No files matched your search
@@ -1144,7 +1144,21 @@ mod host {
|
||||
return None;
|
||||
}
|
||||
self.empty_until[slot] = None;
|
||||
Some(convert(&state.Gamepad))
|
||||
#[allow(unused_mut)]
|
||||
let mut pad = convert(&state.Gamepad);
|
||||
// The scripted keys (`VICTORY_KEYS`) also press the first
|
||||
// pad's buttons, by the stand-in pad's table: with a real pad
|
||||
// connected the stand-in is not there, and a title that listens
|
||||
// to the pad (Grand Theft Auto VI's start screen) saw nothing.
|
||||
#[cfg(feature = "diagnostics")]
|
||||
if slot == 0 {
|
||||
for vk in scripted() {
|
||||
if let Some(&(_, button)) = super::FALLBACK_BUTTONS.iter().find(|(key, _)| *key == vk) {
|
||||
pad.buttons |= button;
|
||||
}
|
||||
}
|
||||
}
|
||||
Some(pad)
|
||||
}
|
||||
|
||||
fn keys(&mut self) -> Vec<KeyState> {
|
||||
|
||||
Reference in new issue
Block a user