IPU: Only fill IPU with required data, no more.

This commit is contained in:
refractionpcsx2 2021-12-22 01:14:02 +00:00
parent a0c8ad9511
commit 8335b3ee77
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ struct alignas(16) tIPU_BP {
__fi bool FillBuffer(u32 bits) __fi bool FillBuffer(u32 bits)
{ {
while (FP < 2) while (FP <= ((BP + bits) / 128))
{ {
if (ipu_fifo.in.read(&internal_qwc[FP]) == 0) if (ipu_fifo.in.read(&internal_qwc[FP]) == 0)
{ {