new compile on linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1817 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
f50746cf0e
commit
5d961c03ef
|
@ -176,7 +176,7 @@ void ConfigDialog::GeneralSettingsChanged(wxCommandEvent& event)
|
||||||
DoExtensionConnectedDisconnected();
|
DoExtensionConnectedDisconnected();
|
||||||
/* It doesn't seem to be needed but shouldn't it at least take 25 ms to
|
/* It doesn't seem to be needed but shouldn't it at least take 25 ms to
|
||||||
reconnect an extension after we disconnected another? */
|
reconnect an extension after we disconnected another? */
|
||||||
Sleep(25);
|
sleep(25);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update status
|
// Update status
|
||||||
|
@ -208,4 +208,4 @@ void ConfigDialog::GeneralSettingsChanged(wxCommandEvent& event)
|
||||||
DoExtensionConnectedDisconnected();
|
DoExtensionConnectedDisconnected();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -523,12 +523,13 @@ void FillReportExtension(wm_extension& _ext)
|
||||||
by 0x08 */
|
by 0x08 */
|
||||||
memcpy(g_RegExtTmpReport + 0x08, &_ext, sizeof(_ext));
|
memcpy(g_RegExtTmpReport + 0x08, &_ext, sizeof(_ext));
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
/**/if(GetAsyncKeyState('V')) // Log
|
/**/if(GetAsyncKeyState('V')) // Log
|
||||||
{
|
{
|
||||||
std::string Temp = ArrayToString(g_RegExtTmpReport, sizeof(_ext), 0x08);
|
std::string Temp = ArrayToString(g_RegExtTmpReport, sizeof(_ext), 0x08);
|
||||||
wprintf("Nunchuck DataFrame: %s\n", Temp.c_str());
|
wprintf("Nunchuck DataFrame: %s\n", Temp.c_str());
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
// Encrypt it
|
// Encrypt it
|
||||||
wiimote_encrypt(&g_ExtKey, &g_RegExtTmpReport[0x08], 0x08, sizeof(_ext));
|
wiimote_encrypt(&g_ExtKey, &g_RegExtTmpReport[0x08], 0x08, sizeof(_ext));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue