mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 16:19:28 +01:00
WiimoteDevice: Make DoesChannelExist() a const member function
This only queries internal class state, it doesn't modify it.
This commit is contained in:
parent
f906785e88
commit
94fd8505d6
@ -96,7 +96,7 @@ private:
|
|||||||
typedef std::map<u32, SChannel> CChannelMap;
|
typedef std::map<u32, SChannel> CChannelMap;
|
||||||
CChannelMap m_Channel;
|
CChannelMap m_Channel;
|
||||||
|
|
||||||
bool DoesChannelExist(u16 _SCID) { return m_Channel.find(_SCID) != m_Channel.end(); }
|
bool DoesChannelExist(u16 scid) const { return m_Channel.find(scid) != m_Channel.end(); }
|
||||||
void SendCommandToACL(u8 _Ident, u8 _Code, u8 _CommandLength, u8* _pCommandData);
|
void SendCommandToACL(u8 _Ident, u8 _Code, u8 _CommandLength, u8* _pCommandData);
|
||||||
|
|
||||||
void SignalChannel(u8* _pData, u32 _Size);
|
void SignalChannel(u8* _pData, u32 _Size);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user