mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-26 02:11:36 -04:00
5ffd57d7f3
psx_mod_set_frame_interpolation_source(PSX_MOD_FRAME_SOURCE_FLIP) makes the OpenGL presenter rotate its blend history only when the guest really flips (the displayed VRAM origin moves or the displayed rect is redrawn) and spread one crossfade over the measured flip period. A game that flips every second VBlank (R4 races) used to blend for one VBlank and hold for the next; it now blends across its whole frame. VBLANK stays the default. reset_mod_owned_presentation() puts it back at every session start (first boot and the lobby rematch), next to the blend mode, so titles that never call the setter keep today's code path and a netplay session never inherits it. begin() is begin_phase(0, 1) and stays bit-identical (test). gl_interp reports the source, the flip period, captures and duplicate VBlanks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>