rsx: Do not call a dynamic function to simply test-and-set. Do it inline.

This commit is contained in:
kd-11 2023-01-07 20:17:47 +03:00 committed by kd-11
parent d4ee308ffd
commit 3dd6e5664c
6 changed files with 113 additions and 48 deletions

View file

@ -840,6 +840,11 @@ namespace rsx
break;
}
}
else if (method_registers.register_previous_value != value)
{
// Something changed, set signal flags if any specified
m_graphics_state |= state_signals[reg];
}
}
while (fifo_ctrl->read_unsafe(command));