mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
Use sys_vm_memory_map plus add default value for sys_allocate (#2560)
for different memory map(unconfirmed) also handle default action. Fixes unknown syscall 313 error Issue 2510
This commit is contained in:
parent
5785ebb384
commit
c729d6d65a
5 changed files with 12 additions and 1 deletions
|
|
@ -12,6 +12,7 @@ error_code sys_memory_allocate(u32 size, u64 flags, vm::ptr<u32> alloc_addr)
|
|||
// Check allocation size
|
||||
switch (flags)
|
||||
{
|
||||
case 0: //handle "default" value, issue 2510
|
||||
case SYS_MEMORY_PAGE_SIZE_1M:
|
||||
{
|
||||
if (size % 0x100000)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue