mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 22:11:26 +12:00
"Memory" eliminated
This commit is contained in:
parent
aad97aaea1
commit
48c75105e2
33 changed files with 562 additions and 910 deletions
|
@ -545,7 +545,7 @@ void PPUThread::InitStack()
|
|||
throw EXCEPTION("Invalid stack size");
|
||||
}
|
||||
|
||||
stack_addr = Memory.StackMem.AllocAlign(stack_size, 4096);
|
||||
stack_addr = vm::alloc(stack_size, vm::stack);
|
||||
|
||||
if (!stack_addr)
|
||||
{
|
||||
|
@ -558,7 +558,7 @@ void PPUThread::CloseStack()
|
|||
{
|
||||
if (stack_addr)
|
||||
{
|
||||
Memory.StackMem.Free(stack_addr);
|
||||
vm::dealloc(stack_addr, vm::stack);
|
||||
stack_addr = 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue