mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-02 20:42:29 +01:00
Syphon Filter: Dark Mirror: Make the actor's turn after a scripted move frame rate independent
Part of #22669. When a scripted move reaches its target, the AI only issues the next command ("face this way") two updates later, so the actor coasts for two frames before turning. At 60fps that's 33ms: the turn starts further from the target, the slide carries Gabe out of the 1.0 target radius, the steering seeks the target again and he spins, ending up with his back to the camera in the Episode 1 Part 1 cutscene. At 20fps (where the pose matches PSP footage) he coasts for 0.1s. Hook the steering function to hold the turn rate at zero for the first 0.1s after arriving, so every frame rate gets the 20fps outcome. Anchor heading measured in that scene: 60fps -81 (was -150), 30fps -82 (was -116), 20fps -80, 15fps -75. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
31e94fcf68
commit
5eae37aa5b
2 files changed
+51
No files matched your search
@@ -362,6 +362,7 @@ static const HardHashTableEntry hardcodedHashes[] = {
|
||||
{ 0x9e6e007072b74503, 2028, "syphonfilterls_draw_trail", }, // Syphon Filter: Logan's Shadow (US)
|
||||
{ 0x9f269daa6f0da803, 128, "sceGupScissor", },
|
||||
{ 0x9f7919eeb43982b0, 208, "__fixdfsi", },
|
||||
{ 0xa0ec0ed83a53b883, 7304, "syphonfilter_steer", }, // Syphon Filter: Dark Mirror (US)
|
||||
{ 0xa1c9b0a2c71235bf, 1752, "marvelalliance1_copy" }, // Marvel Ultimate Alliance 1 (EU)
|
||||
{ 0x9b76c7f2a41aa805, 1752, "marvelalliance1_copy" }, // Marvel Ultimate alliance 1 (US)
|
||||
{ 0xa1ca0640f11182e7, 72, "strcspn", },
|
||||
|
||||
Reference in new issue
Block a user