mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
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);
|
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);
|
||||||
|
@ -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;
|
||||||
|
@ -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
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
@ -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);
|
||||||
|
@ -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;
|
||||||
|
@ -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);
|
||||||
|
@ -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;
|
||||||
|
@ -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);
|
||||||
|
@ -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;
|
||||||
|
@ -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);
|
||||||
|
@ -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;
|
||||||
|
@ -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)
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user