Skip to content

Commit

Permalink
IPU: Only fill IPU with required data, no more.
Browse files Browse the repository at this point in the history
  • Loading branch information
refractionpcsx2 committed Dec 26, 2021
1 parent a0c8ad9 commit 8335b3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pcsx2/IPU/IPU.h
Expand Up @@ -121,7 +121,7 @@ struct alignas(16) tIPU_BP {

__fi bool FillBuffer(u32 bits)
{
while (FP < 2)
while (FP <= ((BP + bits) / 128))
{
if (ipu_fifo.in.read(&internal_qwc[FP]) == 0)
{
Expand Down

0 comments on commit 8335b3e

Please sign in to comment.