mirror of https://github.com/PCSX2/pcsx2.git
SPU2: Cleanup unused destructor
This commit is contained in:
parent
16a11b75a8
commit
cf3395b9ce
|
@ -477,8 +477,7 @@ struct V_Core
|
|||
, DMAPtr(nullptr)
|
||||
{
|
||||
}
|
||||
V_Core(int idx); // our badass constructor
|
||||
~V_Core() throw();
|
||||
V_Core(int idx) : Index(idx) {};
|
||||
|
||||
void Init(int index);
|
||||
void UpdateEffectsBufferSize();
|
||||
|
|
|
@ -106,25 +106,6 @@ __forceinline void spu2M_Write(u32 addr, u16 value)
|
|||
V_VolumeLR V_VolumeLR::Max(0x7FFF);
|
||||
V_VolumeSlideLR V_VolumeSlideLR::Max(0x3FFF, 0x7FFF);
|
||||
|
||||
V_Core::V_Core(int coreidx)
|
||||
: Index(coreidx)
|
||||
//LogFile_AutoDMA( nullptr )
|
||||
{
|
||||
/*char fname[128];
|
||||
sprintf( fname, "logs/adma%d.raw", GetDmaIndex() );
|
||||
LogFile_AutoDMA = fopen( fname, "wb" );*/
|
||||
}
|
||||
|
||||
V_Core::~V_Core() throw()
|
||||
{
|
||||
// Can't use this yet because we dumb V_Core into savestates >_<
|
||||
/*if( LogFile_AutoDMA != nullptr )
|
||||
{
|
||||
fclose( LogFile_AutoDMA );
|
||||
LogFile_AutoDMA = nullptr;
|
||||
}*/
|
||||
}
|
||||
|
||||
void V_Core::Init(int index)
|
||||
{
|
||||
if (SPU2::MsgToConsole())
|
||||
|
|
Loading…
Reference in New Issue