mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-09 01:29:23 +00:00
cellgcm: fix regression
This commit is contained in:
parent
b456955688
commit
b3a933ba84
1 changed files with 1 additions and 1 deletions
|
@ -1011,7 +1011,7 @@ s32 cellGcmMapMainMemory(u32 ea, u32 size, vm::ptr<u32> offset)
|
||||||
// Use the offset table to find the next free io address
|
// Use the offset table to find the next free io address
|
||||||
for (u32 io = RSXIOMem.GetRangeStart() >> 20, end = RSXIOMem.GetRangeEnd() >> 20, unmap_count = 1; io < end; unmap_count++)
|
for (u32 io = RSXIOMem.GetRangeStart() >> 20, end = RSXIOMem.GetRangeEnd() >> 20, unmap_count = 1; io < end; unmap_count++)
|
||||||
{
|
{
|
||||||
if (static_cast<s16>(offsetTable.eaAddress[io]) < 0)
|
if (static_cast<s16>(offsetTable.eaAddress[io + unmap_count - 1]) < 0)
|
||||||
{
|
{
|
||||||
if (unmap_count >= (size >> 20))
|
if (unmap_count >= (size >> 20))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue