lets add deque to precompiled header :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2678 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
cottonvibes 2010-03-06 09:22:56 +00:00
parent 39a628ab9a
commit 000ba087e4
4 changed files with 11 additions and 12 deletions

View File

@ -42,6 +42,7 @@
#include <vector> #include <vector>
#include <string> #include <string>
#include <list> #include <list>
#include <deque>
#include <sstream> #include <sstream>
#include <cstring> // string.h under c++ #include <cstring> // string.h under c++
#include <cstdio> // stdio.h under c++ #include <cstdio> // stdio.h under c++

View File

@ -44,7 +44,6 @@ _vifT bool analyzeIbit(u32* &data, int iBit) {
// Interprets packet // Interprets packet
_vifT void vifTransferLoop(u32* &data) { _vifT void vifTransferLoop(u32* &data) {
//u32& tSize = vifX.tag.size;
u32& pSize = vifX.vifpacketsize; u32& pSize = vifX.vifpacketsize;
int iBit = vifX.cmd >> 7; int iBit = vifX.cmd >> 7;

View File

@ -17,10 +17,6 @@
#include "PrecompiledHeader.h" #include "PrecompiledHeader.h"
#include "Common.h" #include "Common.h"
#include "VU.h"
#include "GS.h"
#include "iR5900.h"
#include "R5900OpcodeTables.h"
#include "microVU.h" #include "microVU.h"
//------------------------------------------------------------------ //------------------------------------------------------------------
@ -203,11 +199,11 @@ _mVUt _f microProgram* mVUcreateProg(int startPC) {
prog->idx = mVU->prog.total++; prog->idx = mVU->prog.total++;
prog->startPC = startPC; prog->startPC = startPC;
mVUcacheProg<vuIndex>(*prog); // Cache Micro Program mVUcacheProg<vuIndex>(*prog); // Cache Micro Program
float cacheSize = (float)(u32)((u32)mVU->prog.x86end - (u32)mVU->prog.x86start); float cacheSize = (float)((u32)mVU->prog.x86end - (u32)mVU->prog.x86start);
float cacheStat =((float)(u32)((u32)mVU->prog.x86ptr - (u32)mVU->prog.x86start)) / cacheSize * 100; float cacheUsed =((float)((u32)mVU->prog.x86ptr - (u32)mVU->prog.x86start)) / cacheSize * 100;
ConsoleColors c = vuIndex ? Color_Orange : Color_Magenta; ConsoleColors c = vuIndex ? Color_Orange : Color_Magenta;
Console.WriteLn(c, "microVU%d: Cached MicroPrograms = [%03d] [PC=%04x] [List=%02d] (Cache = %f%%)", Console.WriteLn(c, "microVU%d: Cached MicroPrograms = [%03d] [PC=%04x] [List=%02d] (Cache = %f%%)",
vuIndex, mVU->prog.total, startPC, mVU->prog.prog[startPC].list->size()+1, cacheStat); vuIndex, mVU->prog.total, startPC, mVU->prog.prog[startPC].list->size()+1, cacheUsed);
return prog; return prog;
} }

View File

@ -17,11 +17,14 @@
//#define mVUlogProg // Dumps MicroPrograms to \logs\*.html //#define mVUlogProg // Dumps MicroPrograms to \logs\*.html
class AsciiFile; class AsciiFile;
#include <deque>
#include "x86emitter/x86emitter.h"
using namespace x86Emitter;
using namespace std; using namespace std;
using namespace x86Emitter;
#include "VU.h"
#include "GS.h"
#include "iR5900.h"
#include "R5900OpcodeTables.h"
#include "x86emitter/x86emitter.h"
#include "microVU_IR.h" #include "microVU_IR.h"
#include "microVU_Misc.h" #include "microVU_Misc.h"