mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 07:09:03 +00:00
Purely stylistic cleanup of Core/HW/WiimoteEmu/Attachment/* files.
Also cleaned up WiimoteEmu.h as well.
This commit is contained in:
parent
c31a623780
commit
3efb0aa5f7
8 changed files with 152 additions and 153 deletions
|
@ -11,7 +11,7 @@ class Classic : public Attachment
|
|||
{
|
||||
public:
|
||||
Classic(WiimoteEmu::ExtensionReg& _reg);
|
||||
void GetState( u8* const data, const bool focus );
|
||||
void GetState(u8* const data, const bool focus) override;
|
||||
|
||||
enum
|
||||
{
|
||||
|
|
|
@ -11,7 +11,7 @@ class Drums : public Attachment
|
|||
{
|
||||
public:
|
||||
Drums(WiimoteEmu::ExtensionReg& _reg);
|
||||
void GetState( u8* const data, const bool focus );
|
||||
void GetState(u8* const data, const bool focus) override;
|
||||
|
||||
enum
|
||||
{
|
||||
|
|
|
@ -33,7 +33,9 @@ private:
|
|||
Buttons* m_buttons;
|
||||
AnalogStick* m_stick;
|
||||
Triggers* m_effect_dial;
|
||||
Slider *m_left_table, *m_right_table, *m_crossfade;
|
||||
Slider* m_left_table;
|
||||
Slider* m_right_table;
|
||||
Slider* m_crossfade;
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -148,7 +148,7 @@ private:
|
|||
struct ReadRequest
|
||||
{
|
||||
//u16 channel;
|
||||
unsigned int address, size, position;
|
||||
u32 address, size, position;
|
||||
u8* data;
|
||||
};
|
||||
|
||||
|
@ -219,14 +219,12 @@ private:
|
|||
|
||||
// address 0xFA
|
||||
u8 ext_identifier[6];
|
||||
|
||||
} m_reg_motion_plus;
|
||||
|
||||
struct IrReg
|
||||
{
|
||||
u8 data[0x33];
|
||||
u8 mode;
|
||||
|
||||
} m_reg_ir;
|
||||
|
||||
ExtensionReg m_reg_ext;
|
||||
|
@ -244,7 +242,6 @@ private:
|
|||
u8 unk_7;
|
||||
u8 play;
|
||||
u8 unk_9;
|
||||
|
||||
} m_reg_speaker;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue