mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 15:01:28 +12:00
fixes to get llvm to compile (excepti for utils.cpp, that'll get fixed
later) Eradicate the Array almost everywhere, some usages like Stack still remains
This commit is contained in:
parent
d65968b41d
commit
25c3aa8e19
92 changed files with 931 additions and 1305 deletions
|
@ -51,7 +51,7 @@ void PPUThread::AddArgv(const std::string& arg)
|
|||
{
|
||||
m_stack_point -= arg.length() + 1;
|
||||
m_stack_point = Memory.AlignAddr(m_stack_point, 0x10) - 0x10;
|
||||
m_argv_addr.AddCpy(m_stack_point);
|
||||
m_argv_addr.push_back(m_stack_point);
|
||||
Memory.WriteString(m_stack_point, arg);
|
||||
}
|
||||
|
||||
|
@ -98,9 +98,9 @@ void PPUThread::InitRegs()
|
|||
GPR[i] = (i+1) * 0x10000;
|
||||
}
|
||||
*/
|
||||
if(m_argv_addr.GetCount())
|
||||
if(m_argv_addr.size())
|
||||
{
|
||||
u64 argc = m_argv_addr.GetCount();
|
||||
u64 argc = m_argv_addr.size();
|
||||
m_stack_point -= 0xc + 4 * argc;
|
||||
u64 argv = m_stack_point;
|
||||
|
||||
|
@ -204,4 +204,4 @@ int FPRdouble::Cmp(PPCdouble a, PPCdouble b)
|
|||
if(a == b) return CR_EQ;
|
||||
|
||||
return CR_SO;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue