summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/evdev
diff options
context:
space:
mode:
authorTillmann Karras <tilkax@gmail.com>2024-10-10 00:29:21 +0100
committerTillmann Karras <tilkax@gmail.com>2024-10-10 04:07:44 +0100
commite96960e2a678f072f316173c80650897013fb99c (patch)
treec79c0379bc04a28941553843b75049bf23326fa1 /Source/Core/InputCommon/ControllerInterface/evdev
parent7db13d23c9f8356c3d38e56a5587c377bd8e991c (diff)
VideoCommon: fix common opcode decoding errors
Many games call GXSetGPFifo() without first waiting for the GP to finish consuming outstanding commands in the previous GP fifo. Normally, Dolphin runs OpcodeDecoding in 1000-cycle time slices. In that time frame, GXSetGPFifo() has probably completed and the GP read pointer now points to entirely new memory. If the last GP fifo copy ended in an incomplete command, the new GP fifo would most likely desync for a while. To avoid all this, give the GP a time slice right now to copy the remaining data from the previous GP fifo.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/evdev')
0 files changed, 0 insertions, 0 deletions