mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 23:41:26 +12:00
Fix display flickering
This commit is contained in:
parent
d52bb78d2c
commit
b637429e44
1 changed files with 1 additions and 12 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue