mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-23 10:50:01 +00:00
Core: Move HCICommandPayload struct template from BTReal to LibUSBBluetoothAdapter header.
This commit is contained in:
parent
2b541361c6
commit
5336c23329
2 changed files with 8 additions and 10 deletions
|
@ -28,16 +28,6 @@
|
|||
|
||||
#include "VideoCommon/OnScreenDisplay.h"
|
||||
|
||||
namespace
|
||||
{
|
||||
template <u16 Opcode, typename CommandType>
|
||||
struct HCICommandPayload
|
||||
{
|
||||
hci_cmd_hdr_t header{Opcode, sizeof(CommandType)};
|
||||
CommandType command{};
|
||||
};
|
||||
} // namespace
|
||||
|
||||
namespace IOS::HLE
|
||||
{
|
||||
|
||||
|
|
|
@ -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 <u16 Opcode, typename CommandType>
|
||||
struct HCICommandPayload
|
||||
{
|
||||
hci_cmd_hdr_t header{Opcode, sizeof(CommandType)};
|
||||
CommandType command{};
|
||||
};
|
||||
|
||||
class LibUSBBluetoothAdapter
|
||||
{
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue