WiimoteDevice: Remove unnecessary cast in ExecuteL2capCmd()
pData is already a u8*, so a cast isn't necessary here.
This commit is contained in:
parent
69f079b371
commit
5548316d32
|
@ -295,8 +295,8 @@ void WiimoteDevice::ExecuteL2capCmd(u8* _pData, u32 _Size)
|
||||||
{
|
{
|
||||||
DEBUG_LOG(WIIMOTE, "Wiimote_InterruptChannel");
|
DEBUG_LOG(WIIMOTE, "Wiimote_InterruptChannel");
|
||||||
DEBUG_LOG(WIIMOTE, " Channel ID: %04x", pHeader->dcid);
|
DEBUG_LOG(WIIMOTE, " Channel ID: %04x", pHeader->dcid);
|
||||||
std::string Temp = ArrayToString((const u8*)pData, DataSize);
|
const std::string temp = ArrayToString(pData, DataSize);
|
||||||
DEBUG_LOG(WIIMOTE, " Data: %s", Temp.c_str());
|
DEBUG_LOG(WIIMOTE, " Data: %s", temp.c_str());
|
||||||
|
|
||||||
Wiimote::InterruptChannel(number, pHeader->dcid, pData, DataSize);
|
Wiimote::InterruptChannel(number, pHeader->dcid, pData, DataSize);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue