diff --git a/src/input_common/gcadapter/gc_adapter.cpp b/src/input_common/gcadapter/gc_adapter.cpp index 80355a40d6..774246bdfb 100644 --- a/src/input_common/gcadapter/gc_adapter.cpp +++ b/src/input_common/gcadapter/gc_adapter.cpp @@ -72,7 +72,7 @@ GCPadStatus Adapter::GetPadStatus(int port, const std::array& adapter_pa } void Adapter::PadToState(const GCPadStatus& pad, GCState& state) { - for (auto const& button : PadButtonArray) { + for (const auto& button : PadButtonArray) { u16 button_value = static_cast(button); state.buttons.insert_or_assign(button_value, pad.button & button_value); } @@ -213,7 +213,7 @@ bool Adapter::CheckDeviceAccess(libusb_device* device) { } if (desc.idVendor != 0x057e || desc.idProduct != 0x0337) { - // This isn’t the device we are looking for. + // This isn't the device we are looking for. return false; } const int open_error = libusb_open(device, &usb_adapter_handle);