From f1c2dee343afe627707a5357579066544c10f3b9 Mon Sep 17 00:00:00 2001 From: arcum42 Date: Thu, 11 Mar 2010 11:05:10 +0000 Subject: [PATCH] Quick Linux fix. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2695 96395faa-99c1-11dd-bbfe-3dabce05a288 --- pcsx2/x86/microVU.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pcsx2/x86/microVU.cpp b/pcsx2/x86/microVU.cpp index bc0b388387..a5bf8a9abe 100644 --- a/pcsx2/x86/microVU.cpp +++ b/pcsx2/x86/microVU.cpp @@ -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::iterator it = list.list->begin(); +#else deque::const_iterator it = list.list->begin(); +#endif for ( ; it != list.list->end(); it++) { if (mVUcmpProg(*it[0], 0)) { quick.block = it[0]->block[startPC/8];