mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-04 08:35:55 +00:00
Merge pull request #7150 from lioncash/naming
BTEmu: Amend variable naming
This commit is contained in:
commit
1da868ee82
8 changed files with 464 additions and 465 deletions
|
@ -1401,7 +1401,7 @@ void MainWindow::OnConnectWiiRemote(int id)
|
|||
Core::RunAsCPUThread([&] {
|
||||
const auto bt = std::static_pointer_cast<IOS::HLE::Device::BluetoothEmu>(
|
||||
ios->GetDeviceByName("/dev/usb/oh1/57e/305"));
|
||||
const bool is_connected = bt && bt->AccessWiiMoteByIndex(id)->IsConnected();
|
||||
const bool is_connected = bt && bt->AccessWiimoteByIndex(id)->IsConnected();
|
||||
Wiimote::Connect(id, !is_connected);
|
||||
});
|
||||
}
|
||||
|
|
|
@ -923,7 +923,7 @@ void MenuBar::UpdateToolsMenu(bool emulation_started)
|
|||
|
||||
wii_remote->setEnabled(enable_wiimotes);
|
||||
if (enable_wiimotes)
|
||||
wii_remote->setChecked(bt->AccessWiiMoteByIndex(i)->IsConnected());
|
||||
wii_remote->setChecked(bt->AccessWiimoteByIndex(i)->IsConnected());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue