diff --git a/Source/Core/Core/IOS/USB/Bluetooth/BTReal.cpp b/Source/Core/Core/IOS/USB/Bluetooth/BTReal.cpp index b5a9d030a1..88dd05af28 100644 --- a/Source/Core/Core/IOS/USB/Bluetooth/BTReal.cpp +++ b/Source/Core/Core/IOS/USB/Bluetooth/BTReal.cpp @@ -28,16 +28,6 @@ #include "VideoCommon/OnScreenDisplay.h" -namespace -{ -template -struct HCICommandPayload -{ - hci_cmd_hdr_t header{Opcode, sizeof(CommandType)}; - CommandType command{}; -}; -} // namespace - namespace IOS::HLE { diff --git a/Source/Core/Core/IOS/USB/Bluetooth/LibUSBBluetoothAdapter.h b/Source/Core/Core/IOS/USB/Bluetooth/LibUSBBluetoothAdapter.h index 7add7c073e..c2bd693b10 100644 --- a/Source/Core/Core/IOS/USB/Bluetooth/LibUSBBluetoothAdapter.h +++ b/Source/Core/Core/IOS/USB/Bluetooth/LibUSBBluetoothAdapter.h @@ -12,12 +12,20 @@ #include "Common/Timer.h" #include "Common/WorkQueueThread.h" +#include "Core/IOS/USB/Bluetooth/hci.h" #include "Core/LibusbUtils.h" struct libusb_device_handle; struct libusb_device_descriptor; struct libusb_transfer; +template +struct HCICommandPayload +{ + hci_cmd_hdr_t header{Opcode, sizeof(CommandType)}; + CommandType command{}; +}; + class LibUSBBluetoothAdapter { public: