rsx: Move PS3-compliant behavior to a new option

This commit is contained in:
kd-11 2022-05-21 15:58:50 +03:00 committed by kd-11
parent b637429e44
commit 7c8fbc35bc
6 changed files with 9 additions and 3 deletions

View file

@ -106,11 +106,13 @@ namespace rsx
if (addr == rsx->device_addr + 0x30)
{
if (g_cfg.video.frame_limit == frame_limit_type::_auto)
if (g_cfg.video.frame_limit == frame_limit_type::_ps3 && rsx->requested_vsync)
{
// Enables PS3-compliant vblank behavior
rsx->flip_sema_wait_val = arg;
rsx->wait_for_flip_sema = (sema != arg);
}
return;
}