Quick Linux fix.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2695 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
arcum42 2010-03-11 11:05:10 +00:00
parent bf933b0af9
commit f1c2dee343
1 changed files with 4 additions and 0 deletions

View File

@ -249,7 +249,11 @@ _mVUt _f void* mVUsearchProg(u32 startPC, uptr pState) {
microProgramQuick& quick = mVU->prog.quick[startPC/8];
microProgramList& list = mVU->prog.prog [startPC/8];
if(!quick.prog) { // If null, we need to search for new program
#ifdef __LINUX__
deque<microProgram*>::iterator it = list.list->begin();
#else
deque<microProgram*>::const_iterator it = list.list->begin();
#endif
for ( ; it != list.list->end(); it++) {
if (mVUcmpProg<vuIndex>(*it[0], 0)) {
quick.block = it[0]->block[startPC/8];