mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-13 02:08:49 +12:00
rsx: fix hardcoded rsx allocation address
This commit is contained in:
parent
3935cef691
commit
b456955688
8 changed files with 63 additions and 38 deletions
|
@ -21,7 +21,7 @@ error_code sys_vm_memory_map(u32 vsize, u32 psize, u32 cid, u64 flag, u64 policy
|
|||
}
|
||||
|
||||
// Look for unmapped space (roughly)
|
||||
for (u32 found = 0x60000000; found <= 0xC0000000 - vsize; found += 0x2000000)
|
||||
for (u32 found = 0x40000000; found <= 0xC0000000 - vsize; found += 0x1000000)
|
||||
{
|
||||
// Try to map
|
||||
if (const auto area = vm::map(found, vsize, flag))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue