DSPHLE: Remove empty destructors

Most of these were made unnecessary by the previous commit.
This commit is contained in:
Pokechu22 2022-06-19 12:19:09 -07:00
parent 567f9bede4
commit 0fec8ffb3c
14 changed files with 0 additions and 35 deletions

View File

@ -32,10 +32,6 @@ AXUCode::AXUCode(DSPHLE* dsphle, u32 crc) : UCodeInterface(dsphle, crc)
INFO_LOG_FMT(DSPHLE, "Instantiating AXUCode: crc={:08x}", crc); INFO_LOG_FMT(DSPHLE, "Instantiating AXUCode: crc={:08x}", crc);
} }
AXUCode::~AXUCode()
{
}
void AXUCode::Initialize() void AXUCode::Initialize()
{ {
m_mail_handler.PushMail(DSP_INIT, true); m_mail_handler.PushMail(DSP_INIT, true);

View File

@ -66,7 +66,6 @@ class AXUCode : public UCodeInterface
{ {
public: public:
AXUCode(DSPHLE* dsphle, u32 crc); AXUCode(DSPHLE* dsphle, u32 crc);
~AXUCode() override;
void Initialize() override; void Initialize() override;
void HandleMail(u32 mail) override; void HandleMail(u32 mail) override;

View File

@ -30,10 +30,6 @@ AXWiiUCode::AXWiiUCode(DSPHLE* dsphle, u32 crc) : AXUCode(dsphle, crc), m_last_m
m_old_axwii = (crc == 0xfa450138) || (crc == 0x7699af32); m_old_axwii = (crc == 0xfa450138) || (crc == 0x7699af32);
} }
AXWiiUCode::~AXWiiUCode()
{
}
void AXWiiUCode::HandleCommandList() void AXWiiUCode::HandleCommandList()
{ {
// Temp variables for addresses computation // Temp variables for addresses computation

View File

@ -15,7 +15,6 @@ class AXWiiUCode : public AXUCode
{ {
public: public:
AXWiiUCode(DSPHLE* dsphle, u32 crc); AXWiiUCode(DSPHLE* dsphle, u32 crc);
~AXWiiUCode() override;
void DoState(PointerWrap& p) override; void DoState(PointerWrap& p) override;

View File

@ -16,10 +16,6 @@ CARDUCode::CARDUCode(DSPHLE* dsphle, u32 crc) : UCodeInterface(dsphle, crc)
INFO_LOG_FMT(DSPHLE, "CARDUCode - initialized"); INFO_LOG_FMT(DSPHLE, "CARDUCode - initialized");
} }
CARDUCode::~CARDUCode()
{
}
void CARDUCode::Initialize() void CARDUCode::Initialize()
{ {
m_mail_handler.PushMail(DSP_INIT); m_mail_handler.PushMail(DSP_INIT);

View File

@ -14,7 +14,6 @@ class CARDUCode : public UCodeInterface
{ {
public: public:
CARDUCode(DSPHLE* dsphle, u32 crc); CARDUCode(DSPHLE* dsphle, u32 crc);
~CARDUCode() override;
void Initialize() override; void Initialize() override;
void HandleMail(u32 mail) override; void HandleMail(u32 mail) override;

View File

@ -73,10 +73,6 @@ GBAUCode::GBAUCode(DSPHLE* dsphle, u32 crc) : UCodeInterface(dsphle, crc)
{ {
} }
GBAUCode::~GBAUCode()
{
}
void GBAUCode::Initialize() void GBAUCode::Initialize()
{ {
m_mail_handler.PushMail(DSP_INIT); m_mail_handler.PushMail(DSP_INIT);

View File

@ -18,7 +18,6 @@ void ProcessGBACrypto(u32 address);
struct GBAUCode : public UCodeInterface struct GBAUCode : public UCodeInterface
{ {
GBAUCode(DSPHLE* dsphle, u32 crc); GBAUCode(DSPHLE* dsphle, u32 crc);
~GBAUCode() override;
void Initialize() override; void Initialize() override;
void HandleMail(u32 mail) override; void HandleMail(u32 mail) override;

View File

@ -16,10 +16,6 @@ INITUCode::INITUCode(DSPHLE* dsphle, u32 crc) : UCodeInterface(dsphle, crc)
INFO_LOG_FMT(DSPHLE, "INITUCode - initialized"); INFO_LOG_FMT(DSPHLE, "INITUCode - initialized");
} }
INITUCode::~INITUCode()
{
}
void INITUCode::Initialize() void INITUCode::Initialize()
{ {
m_mail_handler.PushMail(0x80544348); m_mail_handler.PushMail(0x80544348);

View File

@ -14,7 +14,6 @@ class INITUCode : public UCodeInterface
{ {
public: public:
INITUCode(DSPHLE* dsphle, u32 crc); INITUCode(DSPHLE* dsphle, u32 crc);
~INITUCode() override;
void Initialize() override; void Initialize() override;
void HandleMail(u32 mail) override; void HandleMail(u32 mail) override;

View File

@ -28,10 +28,6 @@ ROMUCode::ROMUCode(DSPHLE* dsphle, u32 crc)
INFO_LOG_FMT(DSPHLE, "UCode_Rom - initialized"); INFO_LOG_FMT(DSPHLE, "UCode_Rom - initialized");
} }
ROMUCode::~ROMUCode()
{
}
void ROMUCode::Initialize() void ROMUCode::Initialize()
{ {
m_mail_handler.PushMail(0x8071FEED); m_mail_handler.PushMail(0x8071FEED);

View File

@ -14,7 +14,6 @@ class ROMUCode : public UCodeInterface
{ {
public: public:
ROMUCode(DSPHLE* dsphle, u32 crc); ROMUCode(DSPHLE* dsphle, u32 crc);
~ROMUCode() override;
void Initialize() override; void Initialize() override;
void HandleMail(u32 mail) override; void HandleMail(u32 mail) override;

View File

@ -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); INFO_LOG_FMT(DSPHLE, "Zelda UCode loaded, crc={:08x}, flags={:08x}", crc, m_flags);
} }
ZeldaUCode::~ZeldaUCode()
{
}
void ZeldaUCode::Initialize() void ZeldaUCode::Initialize()
{ {
if (m_flags & LIGHT_PROTOCOL) if (m_flags & LIGHT_PROTOCOL)

View File

@ -191,7 +191,6 @@ class ZeldaUCode : public UCodeInterface
{ {
public: public:
ZeldaUCode(DSPHLE* dsphle, u32 crc); ZeldaUCode(DSPHLE* dsphle, u32 crc);
~ZeldaUCode() override;
void Initialize() override; void Initialize() override;
void HandleMail(u32 mail) override; void HandleMail(u32 mail) override;