SPU2: Cleanup unused destructor

This commit is contained in:
Ziemas 2023-10-10 01:30:37 +02:00 committed by refractionpcsx2
parent 16a11b75a8
commit cf3395b9ce
2 changed files with 1 additions and 21 deletions

View File

@ -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();

View File

@ -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())