DSPHLE: Cleanup CARD.{cpp,h}
This commit is contained in:
parent
85ebffd839
commit
061e3f998a
|
@ -9,8 +9,8 @@
|
|||
#include "Core/HW/DSPHLE/UCodes/UCodes.h"
|
||||
|
||||
|
||||
CARDUCode::CARDUCode(DSPHLE *dsp_hle, u32 crc)
|
||||
: UCodeInterface(dsp_hle, crc)
|
||||
CARDUCode::CARDUCode(DSPHLE *dsphle, u32 crc)
|
||||
: UCodeInterface(dsphle, crc)
|
||||
{
|
||||
DEBUG_LOG(DSPHLE, "CARDUCode - initialized");
|
||||
m_mail_handler.PushMail(DSP_INIT);
|
||||
|
@ -37,15 +37,15 @@ u32 CARDUCode::GetUpdateMs()
|
|||
return SConfig::GetInstance().m_LocalCoreStartupParameter.bWii ? 3 : 5;
|
||||
}
|
||||
|
||||
void CARDUCode::HandleMail(u32 _uMail)
|
||||
void CARDUCode::HandleMail(u32 mail)
|
||||
{
|
||||
if (_uMail == 0xFF000000) // unlock card
|
||||
if (mail == 0xFF000000) // unlock card
|
||||
{
|
||||
// m_Mails.push(0x00000001); // ACK (actually anything != 0)
|
||||
}
|
||||
else
|
||||
{
|
||||
DEBUG_LOG(DSPHLE, "CARDUCode - unknown command: %x", _uMail);
|
||||
DEBUG_LOG(DSPHLE, "CARDUCode - unknown command: %x", mail);
|
||||
}
|
||||
|
||||
m_mail_handler.PushMail(DSP_DONE);
|
||||
|
|
|
@ -9,11 +9,11 @@
|
|||
class CARDUCode : public UCodeInterface
|
||||
{
|
||||
public:
|
||||
CARDUCode(DSPHLE *dsp_hle, u32 crc);
|
||||
CARDUCode(DSPHLE *dsphle, u32 crc);
|
||||
virtual ~CARDUCode();
|
||||
u32 GetUpdateMs() override;
|
||||
|
||||
void HandleMail(u32 _uMail) override;
|
||||
void HandleMail(u32 mail) override;
|
||||
void Update(int cycles) override;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue