mirror of
https://github.com/valentderah/totk-pc-recomp.git
synced 2026-11-22 13:05:57 +00:00
The camera jitter is described as dlaa_cam_jitter, and the game's matrix copies skip it at once while DLSS is not running
This commit is contained in:
1 parent
0eab458030
commit
d5d62ab406
2 files changed
+2
-1
No files matched your search
+1
-1
@@ -996,7 +996,7 @@ void vk_dlaa_game_present(void) { __atomic_add_fetch(&CJ.presents, 1, __ATOMIC_R
|
||||
|
||||
// The game's thread, after a 64-byte memcpy: lr is the copy's return address into the game, dst where it copied to.
|
||||
void vk_dlaa_camera_copied(uint64_t lr, uint64_t dst) {
|
||||
if ((lr != CAMJ_P_LR && lr != CAMJ_VP_LR) || !cam_mode()) return;
|
||||
if ((lr != CAMJ_P_LR && lr != CAMJ_VP_LR) || !cam_mode() || !dl_active()) return;
|
||||
float *m = (float *)(uintptr_t)dst;
|
||||
uint64_t blk = dst - (lr == CAMJ_P_LR ? 0x70 : 0x30);
|
||||
plat_mutex_lock(&CJ.lk);
|
||||
|
||||
Reference in new issue
Block a user