Purely stylistic cleanup of Core/HW/WiimoteEmu/Attachment/* files.

Also cleaned up WiimoteEmu.h as well.
This commit is contained in:
Lioncash 2014-02-01 19:13:38 -05:00
parent c31a623780
commit 3efb0aa5f7
8 changed files with 152 additions and 153 deletions

View File

@ -11,7 +11,7 @@ class Classic : public Attachment
{ {
public: public:
Classic(WiimoteEmu::ExtensionReg& _reg); Classic(WiimoteEmu::ExtensionReg& _reg);
void GetState( u8* const data, const bool focus ); void GetState(u8* const data, const bool focus) override;
enum enum
{ {

View File

@ -11,7 +11,7 @@ class Drums : public Attachment
{ {
public: public:
Drums(WiimoteEmu::ExtensionReg& _reg); Drums(WiimoteEmu::ExtensionReg& _reg);
void GetState( u8* const data, const bool focus ); void GetState(u8* const data, const bool focus) override;
enum enum
{ {

View File

@ -33,7 +33,9 @@ private:
Buttons* m_buttons; Buttons* m_buttons;
AnalogStick* m_stick; AnalogStick* m_stick;
Triggers* m_effect_dial; Triggers* m_effect_dial;
Slider *m_left_table, *m_right_table, *m_crossfade; Slider* m_left_table;
Slider* m_right_table;
Slider* m_crossfade;
}; };

View File

@ -148,7 +148,7 @@ private:
struct ReadRequest struct ReadRequest
{ {
//u16 channel; //u16 channel;
unsigned int address, size, position; u32 address, size, position;
u8* data; u8* data;
}; };
@ -219,14 +219,12 @@ private:
// address 0xFA // address 0xFA
u8 ext_identifier[6]; u8 ext_identifier[6];
} m_reg_motion_plus; } m_reg_motion_plus;
struct IrReg struct IrReg
{ {
u8 data[0x33]; u8 data[0x33];
u8 mode; u8 mode;
} m_reg_ir; } m_reg_ir;
ExtensionReg m_reg_ext; ExtensionReg m_reg_ext;
@ -244,7 +242,6 @@ private:
u8 unk_7; u8 unk_7;
u8 play; u8 play;
u8 unk_9; u8 unk_9;
} m_reg_speaker; } m_reg_speaker;
}; };