mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Fixed warnings about field initialisation order.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@359 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
ae7d236fdf
commit
105e1c325f
@ -37,11 +37,11 @@ IniFile::~IniFile()
|
||||
|
||||
|
||||
Section::Section()
|
||||
: name(""), comment(""), lines() {}
|
||||
: lines(), name(""), comment("") {}
|
||||
|
||||
|
||||
Section::Section(const std::string& _name)
|
||||
: name(_name), comment(""), lines() {}
|
||||
: lines(), name(_name), comment("") {}
|
||||
|
||||
|
||||
Section::Section(const Section& other)
|
||||
|
@ -27,10 +27,9 @@
|
||||
CWII_IPC_HLE_Device_FileIO::CWII_IPC_HLE_Device_FileIO(u32 _DeviceID, const std::string& _rDeviceName )
|
||||
: IWII_IPC_HLE_Device(_DeviceID, _rDeviceName)
|
||||
, m_pFileHandle(NULL)
|
||||
, m_Seek(0)
|
||||
, m_FileLength(0)
|
||||
, m_Seek(0)
|
||||
{
|
||||
m_FileLength = 0;
|
||||
}
|
||||
|
||||
// __________________________________________________________________________________________________
|
||||
|
@ -26,8 +26,8 @@ CWII_IPC_HLE_Device_usb_oh1_57e_305::CWII_IPC_HLE_Device_usb_oh1_57e_305(u32 _De
|
||||
, m_ACLAnswer(false)
|
||||
, m_pACLBuffer(NULL)
|
||||
, m_pHCIBuffer(NULL)
|
||||
, scan_enable(0)
|
||||
, m_State(STATE_NONE)
|
||||
, scan_enable(0)
|
||||
{
|
||||
m_WiiMotes.push_back(CWII_IPC_HLE_WiiMote(this, 0));
|
||||
|
||||
|
@ -117,8 +117,8 @@ struct SL2CAP_CommandConfigurationResponse // 0x05
|
||||
#define USB_HLE_LOG DSPHLE
|
||||
|
||||
CWII_IPC_HLE_WiiMote::CWII_IPC_HLE_WiiMote(CWII_IPC_HLE_Device_usb_oh1_57e_305* _pHost, int _Number)
|
||||
: m_pHost(_pHost)
|
||||
, m_Name("Nintendo RVL-CNT-01")
|
||||
: m_Name("Nintendo RVL-CNT-01")
|
||||
, m_pHost(_pHost)
|
||||
{
|
||||
m_BD.b[0] = 0x11;
|
||||
m_BD.b[1] = 0x02;
|
||||
@ -331,4 +331,4 @@ void CWII_IPC_HLE_WiiMote::CommandCofigurationReq(u8 _Ident, u8* _pData, u32 _Si
|
||||
|
||||
|
||||
SendCommandToACL(_Ident, L2CAP_CONF_RSP, RespLen, TempBuffer);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user