mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
sys_rsx: Fix tiles on MAIN memory error checking
This commit is contained in:
parent
0df6c41556
commit
6210507a37
1 changed files with 2 additions and 2 deletions
|
|
@ -614,9 +614,9 @@ error_code sys_rsx_context_attribute(u32 context_id, u32 package_id, u64 a3, u64
|
||||||
{
|
{
|
||||||
vm::reader_lock rlock;
|
vm::reader_lock rlock;
|
||||||
|
|
||||||
for (u32 offs = (offset & ~0xfffff); offs <= range.end; offs += 0x100000)
|
for (u32 io = (offset >> 20), end = (range.end >> 20); io <= end; io++)
|
||||||
{
|
{
|
||||||
if (render->iomap_table.io[offs >> 20] == umax)
|
if (render->iomap_table.ea[io] == umax)
|
||||||
{
|
{
|
||||||
return CELL_EINVAL;
|
return CELL_EINVAL;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue