mirror of https://github.com/PCSX2/pcsx2.git
vif: init field in constructor + remove empty function
This commit is contained in:
parent
ad7892bd15
commit
5d119bec31
|
@ -380,9 +380,6 @@ void SysMainMemory::ReserveAll()
|
|||
m_ee.Reserve();
|
||||
m_iop.Reserve();
|
||||
m_vu.Reserve();
|
||||
|
||||
reserveNewVif(0);
|
||||
reserveNewVif(1);
|
||||
}
|
||||
|
||||
void SysMainMemory::CommitAll()
|
||||
|
|
|
@ -70,10 +70,9 @@ struct nVifStruct {
|
|||
|
||||
HashBucket vifBlocks; // Vif Blocks
|
||||
|
||||
nVifStruct();
|
||||
nVifStruct() = default;
|
||||
};
|
||||
|
||||
extern void reserveNewVif(int idx);
|
||||
extern void closeNewVif(int idx);
|
||||
extern void resetNewVif(int idx);
|
||||
extern void releaseNewVif(int idx);
|
||||
|
|
|
@ -71,14 +71,6 @@ static const __aligned16 Fnptr_VifUnpackLoop UnpackLoopTable[2][2][2] = {
|
|||
};
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
nVifStruct::nVifStruct()
|
||||
{
|
||||
}
|
||||
|
||||
void reserveNewVif(int idx)
|
||||
{
|
||||
}
|
||||
|
||||
void resetNewVif(int idx)
|
||||
{
|
||||
// Safety Reset : Reassign all VIF structure info, just in case the VU1 pointers have
|
||||
|
|
|
@ -58,12 +58,16 @@ void mergeVectors(xRegisterSSE dest, xRegisterSSE src, xRegisterSSE temp, int xy
|
|||
// VifUnpackSSE_Base Section
|
||||
// =====================================================================================================
|
||||
VifUnpackSSE_Base::VifUnpackSSE_Base()
|
||||
: dstIndirect(ecx) // parameter 1 of __fastcall
|
||||
: usn(false)
|
||||
, doMask(false)
|
||||
, UnpkLoopIteration(0)
|
||||
, UnpkNoOfIterations(0)
|
||||
, IsAligned(0)
|
||||
, dstIndirect(ecx) // parameter 1 of __fastcall
|
||||
, srcIndirect(edx) // parameter 2 of __fastcall
|
||||
, workReg( xmm1 )
|
||||
, destReg( xmm0 )
|
||||
{
|
||||
UnpkLoopIteration = 0;
|
||||
}
|
||||
|
||||
void VifUnpackSSE_Base::xMovDest() const {
|
||||
|
|
Loading…
Reference in New Issue