mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 14:37:08 +00:00
rsx: Improve MM synchronization
This commit is contained in:
parent
21eaee0e23
commit
30ca2370ab
2 changed files with 21 additions and 15 deletions
|
|
@ -3182,6 +3182,8 @@ namespace rsx
|
|||
{
|
||||
m_eng_interrupt_mask.clear(rsx::pipe_flush_interrupt);
|
||||
|
||||
mm_flush();
|
||||
|
||||
if (zcull_ctrl->has_pending())
|
||||
{
|
||||
zcull_ctrl->sync(this);
|
||||
|
|
@ -3718,6 +3720,9 @@ namespace rsx
|
|||
{
|
||||
bool pause_emulator = false;
|
||||
|
||||
// MM sync. This is a pre-emptive operation, so we can use a deferred request.
|
||||
rsx::mm_flush_lazy();
|
||||
|
||||
// Marks the end of a frame scope GPU-side
|
||||
if (g_user_asked_for_frame_capture.exchange(false) && !capture_current_frame)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue