- Fixed memory leaks in cellRtc module.

- Fixed CPUThread crash.
- Improved ARMv7 Interpreter.
This commit is contained in:
DH 2013-11-09 14:25:12 +02:00
parent 3b15f35432
commit 6ea2c7d6a8
6 changed files with 949 additions and 729 deletions

View file

@ -24,12 +24,12 @@ void ARMv7Thread::InitStack()
m_stack_addr = Memory.Alloc(0x10000, 1);
}
m_stack_point = m_stack_addr;
m_stack_point = m_stack_addr + m_stack_size;
}
u64 ARMv7Thread::GetFreeStackSize() const
{
return GetStackSize() - (SP - GetStackAddr());
return SP - GetStackAddr();
}
void ARMv7Thread::SetArg(const uint pos, const u64 arg)