mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 16:49:58 -06:00
Change the cmake check_lib routine to use REQUIRED/OPTIONAL instead of TRUE/FALSE.
Add a check to see if -Wno-unused-result is supported by the compiler. Fix some compiler warnings in the wiiuse code. Fix a bug in the wxGTK panic alert code. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6399 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -183,7 +183,8 @@ static int wiiuse_connect_single(struct wiimote_t* wm, char* address)
|
||||
str2ba(address, &addr.l2_bdaddr);
|
||||
else
|
||||
{
|
||||
if (bacmp(bdaddr, BDADDR_ANY) == 0)
|
||||
bdaddr_t bdaddr_any = (bdaddr_t){{0, 0, 0, 0, 0, 0}};
|
||||
if (bacmp(bdaddr, &bdaddr_any) == 0)
|
||||
return 0;
|
||||
// use address of device discovered
|
||||
addr.l2_bdaddr = *bdaddr;
|
||||
|
Reference in New Issue
Block a user