rsx: Fix boundary seek logic for FIFO addresses

This commit is contained in:
kd-11 2025-03-09 01:17:56 +03:00 committed by kd-11
parent 563a3d3587
commit e6b3c2061e

View file

@ -240,7 +240,7 @@ namespace rsx
for (u32 remaining = size, addr = m_internal_get, ptr = from; remaining > 0;)
{
const u32 next_block = utils::align(addr, _1M);
const u32 next_block = utils::align(addr + 1, _1M);
const u32 available = (next_block - addr);
if (remaining <= available)
{