mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-21 03:54:57 +00:00
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
1 changed files with 2 additions and 2 deletions
|
@ -295,8 +295,8 @@ void WiimoteDevice::ExecuteL2capCmd(u8* _pData, u32 _Size)
|
|||
{
|
||||
DEBUG_LOG(WIIMOTE, "Wiimote_InterruptChannel");
|
||||
DEBUG_LOG(WIIMOTE, " Channel ID: %04x", pHeader->dcid);
|
||||
std::string Temp = ArrayToString((const u8*)pData, DataSize);
|
||||
DEBUG_LOG(WIIMOTE, " Data: %s", Temp.c_str());
|
||||
const std::string temp = ArrayToString(pData, DataSize);
|
||||
DEBUG_LOG(WIIMOTE, " Data: %s", temp.c_str());
|
||||
|
||||
Wiimote::InterruptChannel(number, pHeader->dcid, pData, DataSize);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue