DSPHLE: Remove empty destructors
Most of these were made unnecessary by the previous commit.
This commit is contained in:
parent
567f9bede4
commit
0fec8ffb3c
|
@ -32,10 +32,6 @@ AXUCode::AXUCode(DSPHLE* dsphle, u32 crc) : UCodeInterface(dsphle, crc)
|
|||
INFO_LOG_FMT(DSPHLE, "Instantiating AXUCode: crc={:08x}", crc);
|
||||
}
|
||||
|
||||
AXUCode::~AXUCode()
|
||||
{
|
||||
}
|
||||
|
||||
void AXUCode::Initialize()
|
||||
{
|
||||
m_mail_handler.PushMail(DSP_INIT, true);
|
||||
|
|
|
@ -66,7 +66,6 @@ class AXUCode : public UCodeInterface
|
|||
{
|
||||
public:
|
||||
AXUCode(DSPHLE* dsphle, u32 crc);
|
||||
~AXUCode() override;
|
||||
|
||||
void Initialize() override;
|
||||
void HandleMail(u32 mail) override;
|
||||
|
|
|
@ -30,10 +30,6 @@ AXWiiUCode::AXWiiUCode(DSPHLE* dsphle, u32 crc) : AXUCode(dsphle, crc), m_last_m
|
|||
m_old_axwii = (crc == 0xfa450138) || (crc == 0x7699af32);
|
||||
}
|
||||
|
||||
AXWiiUCode::~AXWiiUCode()
|
||||
{
|
||||
}
|
||||
|
||||
void AXWiiUCode::HandleCommandList()
|
||||
{
|
||||
// Temp variables for addresses computation
|
||||
|
|
|
@ -15,7 +15,6 @@ class AXWiiUCode : public AXUCode
|
|||
{
|
||||
public:
|
||||
AXWiiUCode(DSPHLE* dsphle, u32 crc);
|
||||
~AXWiiUCode() override;
|
||||
|
||||
void DoState(PointerWrap& p) override;
|
||||
|
||||
|
|
|
@ -16,10 +16,6 @@ CARDUCode::CARDUCode(DSPHLE* dsphle, u32 crc) : UCodeInterface(dsphle, crc)
|
|||
INFO_LOG_FMT(DSPHLE, "CARDUCode - initialized");
|
||||
}
|
||||
|
||||
CARDUCode::~CARDUCode()
|
||||
{
|
||||
}
|
||||
|
||||
void CARDUCode::Initialize()
|
||||
{
|
||||
m_mail_handler.PushMail(DSP_INIT);
|
||||
|
|
|
@ -14,7 +14,6 @@ class CARDUCode : public UCodeInterface
|
|||
{
|
||||
public:
|
||||
CARDUCode(DSPHLE* dsphle, u32 crc);
|
||||
~CARDUCode() override;
|
||||
|
||||
void Initialize() override;
|
||||
void HandleMail(u32 mail) override;
|
||||
|
|
|
@ -73,10 +73,6 @@ GBAUCode::GBAUCode(DSPHLE* dsphle, u32 crc) : UCodeInterface(dsphle, crc)
|
|||
{
|
||||
}
|
||||
|
||||
GBAUCode::~GBAUCode()
|
||||
{
|
||||
}
|
||||
|
||||
void GBAUCode::Initialize()
|
||||
{
|
||||
m_mail_handler.PushMail(DSP_INIT);
|
||||
|
|
|
@ -18,7 +18,6 @@ void ProcessGBACrypto(u32 address);
|
|||
struct GBAUCode : public UCodeInterface
|
||||
{
|
||||
GBAUCode(DSPHLE* dsphle, u32 crc);
|
||||
~GBAUCode() override;
|
||||
|
||||
void Initialize() override;
|
||||
void HandleMail(u32 mail) override;
|
||||
|
|
|
@ -16,10 +16,6 @@ INITUCode::INITUCode(DSPHLE* dsphle, u32 crc) : UCodeInterface(dsphle, crc)
|
|||
INFO_LOG_FMT(DSPHLE, "INITUCode - initialized");
|
||||
}
|
||||
|
||||
INITUCode::~INITUCode()
|
||||
{
|
||||
}
|
||||
|
||||
void INITUCode::Initialize()
|
||||
{
|
||||
m_mail_handler.PushMail(0x80544348);
|
||||
|
|
|
@ -14,7 +14,6 @@ class INITUCode : public UCodeInterface
|
|||
{
|
||||
public:
|
||||
INITUCode(DSPHLE* dsphle, u32 crc);
|
||||
~INITUCode() override;
|
||||
|
||||
void Initialize() override;
|
||||
void HandleMail(u32 mail) override;
|
||||
|
|
|
@ -28,10 +28,6 @@ ROMUCode::ROMUCode(DSPHLE* dsphle, u32 crc)
|
|||
INFO_LOG_FMT(DSPHLE, "UCode_Rom - initialized");
|
||||
}
|
||||
|
||||
ROMUCode::~ROMUCode()
|
||||
{
|
||||
}
|
||||
|
||||
void ROMUCode::Initialize()
|
||||
{
|
||||
m_mail_handler.PushMail(0x8071FEED);
|
||||
|
|
|
@ -14,7 +14,6 @@ class ROMUCode : public UCodeInterface
|
|||
{
|
||||
public:
|
||||
ROMUCode(DSPHLE* dsphle, u32 crc);
|
||||
~ROMUCode() override;
|
||||
|
||||
void Initialize() override;
|
||||
void HandleMail(u32 mail) override;
|
||||
|
|
|
@ -128,10 +128,6 @@ ZeldaUCode::ZeldaUCode(DSPHLE* dsphle, u32 crc) : UCodeInterface(dsphle, crc)
|
|||
INFO_LOG_FMT(DSPHLE, "Zelda UCode loaded, crc={:08x}, flags={:08x}", crc, m_flags);
|
||||
}
|
||||
|
||||
ZeldaUCode::~ZeldaUCode()
|
||||
{
|
||||
}
|
||||
|
||||
void ZeldaUCode::Initialize()
|
||||
{
|
||||
if (m_flags & LIGHT_PROTOCOL)
|
||||
|
|
|
@ -191,7 +191,6 @@ class ZeldaUCode : public UCodeInterface
|
|||
{
|
||||
public:
|
||||
ZeldaUCode(DSPHLE* dsphle, u32 crc);
|
||||
~ZeldaUCode() override;
|
||||
|
||||
void Initialize() override;
|
||||
void HandleMail(u32 mail) override;
|
||||
|
|
Loading…
Reference in New Issue