rsx: Fix boundary seek logic for FIFO addresses
This commit is contained in:
@@ -240,7 +240,7 @@ namespace rsx
|
|||||||
|
|
||||||
for (u32 remaining = size, addr = m_internal_get, ptr = from; remaining > 0;)
|
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);
|
const u32 available = (next_block - addr);
|
||||||
if (remaining <= available)
|
if (remaining <= available)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user