mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
DSPHLE: Cleanup AX{,Wii}.{cpp,h}
This commit is contained in:
parent
d3abe3824f
commit
85ebffd839
@ -12,8 +12,8 @@
|
||||
#define AX_GC
|
||||
#include "Core/HW/DSPHLE/UCodes/AXVoice.h"
|
||||
|
||||
AXUCode::AXUCode(DSPHLE* dsp_hle, u32 crc)
|
||||
: UCodeInterface(dsp_hle, crc)
|
||||
AXUCode::AXUCode(DSPHLE* dsphle, u32 crc)
|
||||
: UCodeInterface(dsphle, crc)
|
||||
, m_work_available(false)
|
||||
, m_cmdlist_size(0)
|
||||
{
|
||||
|
@ -52,7 +52,7 @@ enum AXMixControl
|
||||
class AXUCode : public UCodeInterface
|
||||
{
|
||||
public:
|
||||
AXUCode(DSPHLE* dsp_hle, u32 crc);
|
||||
AXUCode(DSPHLE* dsphle, u32 crc);
|
||||
virtual ~AXUCode();
|
||||
|
||||
virtual void HandleMail(u32 mail) override;
|
||||
|
@ -15,8 +15,8 @@
|
||||
#include "Core/HW/DSPHLE/UCodes/UCodes.h"
|
||||
|
||||
|
||||
AXWiiUCode::AXWiiUCode(DSPHLE *dsp_hle, u32 l_CRC)
|
||||
: AXUCode(dsp_hle, l_CRC),
|
||||
AXWiiUCode::AXWiiUCode(DSPHLE *dsphle, u32 crc)
|
||||
: AXUCode(dsphle, crc),
|
||||
m_last_main_volume(0x8000)
|
||||
{
|
||||
for (u16& volume : m_last_aux_volumes)
|
||||
@ -24,7 +24,7 @@ AXWiiUCode::AXWiiUCode(DSPHLE *dsp_hle, u32 l_CRC)
|
||||
|
||||
WARN_LOG(DSPHLE, "Instantiating AXWiiUCode");
|
||||
|
||||
m_old_axwii = (l_CRC == 0xfa450138);
|
||||
m_old_axwii = (crc == 0xfa450138);
|
||||
}
|
||||
|
||||
AXWiiUCode::~AXWiiUCode()
|
||||
|
@ -9,7 +9,7 @@
|
||||
class AXWiiUCode : public AXUCode
|
||||
{
|
||||
public:
|
||||
AXWiiUCode(DSPHLE *dsp_hle, u32 _CRC);
|
||||
AXWiiUCode(DSPHLE *dsphle, u32 crc);
|
||||
virtual ~AXWiiUCode();
|
||||
u32 GetUpdateMs() override;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user