mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-10 00:41:19 +12:00
screaming case constexpr
This commit is contained in:
parent
cff8d908cf
commit
08b0bfba8b
1 changed files with 2 additions and 2 deletions
|
@ -228,7 +228,7 @@ void PairingDialog::WorkerThread()
|
|||
#elif BOOST_OS_LINUX
|
||||
void PairingDialog::WorkerThread()
|
||||
{
|
||||
constexpr static uint8_t liacLap[] = {0x00, 0x8b, 0x9e};
|
||||
constexpr static uint8_t LIAC_LAP[] = {0x00, 0x8b, 0x9e};
|
||||
|
||||
constexpr static auto isWiimoteName = [](std::string_view name) {
|
||||
return name == "Nintendo RVL-CNT-01" || name == "Nintendo RVL-CNT-01-TR";
|
||||
|
@ -245,7 +245,7 @@ void PairingDialog::WorkerThread()
|
|||
// Search for device
|
||||
inquiry_info* infos = nullptr;
|
||||
m_cancelButton->Disable();
|
||||
const auto respCount = hci_inquiry(hostId, 5, 4, liacLap, &infos, IREQ_CACHE_FLUSH);
|
||||
const auto respCount = hci_inquiry(hostId, 5, 4, LIAC_LAP, &infos, IREQ_CACHE_FLUSH);
|
||||
m_cancelButton->Enable();
|
||||
if (respCount <= 0)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue