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
@@ -357,6 +357,15 @@ unsafe fn sse4a(code: *const u8, xmm: &mut [M128A; 16]) -> Option<usize> {
|
||||
}
|
||||
|
||||
unsafe extern "system" fn handler(info: *mut EXCEPTION_POINTERS) -> i32 {
|
||||
// an instruction of the console's CPU this one lacks: emulated, the title goes on
|
||||
// SAFETY: the system passes valid exception pointers.
|
||||
if unsafe { (*(*info).ExceptionRecord).ExceptionCode } == EXCEPTION_ILLEGAL_INSTRUCTION {
|
||||
// SAFETY: the faulting thread's context, for the exception being dispatched.
|
||||
let r = unsafe { crate::console_insn::emulate(&mut *(*info).ContextRecord) };
|
||||
if r != 0 {
|
||||
return r;
|
||||
}
|
||||
}
|
||||
// SAFETY: the system passes valid exception pointers.
|
||||
if unsafe { emulate_amd_only(info) } {
|
||||
return -1; // EXCEPTION_CONTINUE_EXECUTION
|
||||
|
||||
Reference in new issue
Block a user