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:
Bigpet 2014-04-10 00:54:32 +02:00 committed by Peter Tissen
parent d65968b41d
commit 25c3aa8e19
92 changed files with 931 additions and 1305 deletions

View file

@ -298,11 +298,11 @@ void CPUThread::Task()
{
if (Ini.HLELogging.GetValue()) ConLog.Write("%s enter", CPUThread::GetFName().c_str());
const Array<u64>& bp = Emu.GetBreakPoints();
const std::vector<u64>& bp = Emu.GetBreakPoints();
try
{
for(uint i=0; i<bp.GetCount(); ++i)
for(uint i=0; i<bp.size(); ++i)
{
if(bp[i] == m_offset + PC)
{
@ -335,7 +335,7 @@ void CPUThread::Task()
break;
}
for(uint i=0; i<bp.GetCount(); ++i)
for(uint i=0; i<bp.size(); ++i)
{
if(bp[i] == PC)
{