Forgot to disable newVif again (overall compatibility is still too low for enabling).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2388 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
Jake.Stine 2009-12-23 13:30:47 +00:00
parent b27b89b162
commit 8328c8cd65
4 changed files with 14 additions and 3 deletions

View File

@ -83,8 +83,8 @@ static __forceinline u32 vif_size(u8 num)
return (num == 0) ? 0x1000 : 0x4000;
}
#define newVif // Enable 'newVif' Code (if the below macros are not defined, it will use old non-sse code)
#define newVif1 // Use New Code for Vif1 Unpacks (needs newVif defined)
//#define newVif // Enable 'newVif' Code (if the below macros are not defined, it will use old non-sse code)
//#define newVif1 // Use New Code for Vif1 Unpacks (needs newVif defined)
//#define newVif0 // Use New Code for Vif0 Unpacks (not implemented)
#ifdef newVif

View File

@ -16,6 +16,8 @@
#include "PrecompiledHeader.h"
#include "VpuUnpackSSE.h"
#ifdef newVif
#define xMOV8(regX, loc) xMOVSSZX(regX, loc)
#define xMOV16(regX, loc) xMOVSSZX(regX, loc)
#define xMOV32(regX, loc) xMOVSSZX(regX, loc)
@ -282,4 +284,6 @@ void VpuUnpackSSE_Init()
}}}
HostSys::MemProtectStatic(nVifUpkExec, Protect_ReadOnly, true);
}
}
#endif

View File

@ -24,6 +24,8 @@
using namespace x86Emitter;
#ifdef newVif
// --------------------------------------------------------------------------------------
// VpuUnpackSSE_Base
// --------------------------------------------------------------------------------------
@ -132,3 +134,4 @@ protected:
return fillingWrite;
}
};
#endif

View File

@ -20,6 +20,8 @@
#include "PrecompiledHeader.h"
#include "VpuUnpackSSE.h"
#ifdef newVif
static __aligned16 nVifBlock _vBlock = {0};
static __pagealigned u8 nVifMemCmp[__pagesize];
@ -276,3 +278,5 @@ _f void dVifUnpack(int idx, u8 *data, u32 size, bool isFill) {
// the interpreter unpacker though, so a recursive call is the safest way here...
dVifUnpack(idx, data, size, isFill);
}
#endif