mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
Lv2 lwcond "true" syscalls
This commit is contained in:
parent
3cf80b0831
commit
befc0f62b8
27 changed files with 212 additions and 71 deletions
|
|
@ -78,7 +78,7 @@ s32 sys_mmapper_allocate_memory(u32 size, u64 flags, vm::ptr<u32> mem_id)
|
|||
|
||||
// Generate a new mem ID.
|
||||
std::shared_ptr<mmapper_info> info(new mmapper_info(size, flags));
|
||||
*mem_id = Emu.GetIdManager().GetNewID(info);
|
||||
*mem_id = Emu.GetIdManager().GetNewID(info, TYPE_MEM);
|
||||
|
||||
return CELL_OK;
|
||||
}
|
||||
|
|
@ -147,7 +147,7 @@ s32 sys_mmapper_free_memory(u32 mem_id)
|
|||
return CELL_ESRCH;
|
||||
|
||||
// Release the allocated memory and remove the ID.
|
||||
Emu.GetIdManager().RemoveID(mem_id);
|
||||
Emu.GetIdManager().RemoveID<mmapper_info>(mem_id);
|
||||
|
||||
return CELL_OK;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue