Fix display flickering

This commit is contained in:
kd-11 2022-05-21 14:36:33 +03:00 committed by kd-11
parent d52bb78d2c
commit b637429e44
1 changed files with 1 additions and 12 deletions

View File

@ -3099,18 +3099,6 @@ namespace rsx
Emu.Pause(); Emu.Pause();
} }
if (false && wait_for_flip_sema) // Breaks framepacing
{
const auto& value = vm::_ref<RsxSemaphore>(device_addr + 0x30).val;
while (value != flip_sema_wait_val && !test_stopped())
{
_mm_pause();
}
wait_for_flip_sema = false;
m_eng_interrupt_mask |= rsx::display_interrupt;
}
if (zcull_ctrl->has_pending()) if (zcull_ctrl->has_pending())
{ {
// NOTE: This is a workaround for buggy games. // NOTE: This is a workaround for buggy games.
@ -3250,6 +3238,7 @@ namespace rsx
{ {
// Not yet signaled, handle it later // Not yet signaled, handle it later
async_flip_requested |= flip_request::emu_requested; async_flip_requested |= flip_request::emu_requested;
async_flip_buffer = buffer;
return; return;
} }