rpcsx/rpcs3/Emu/Cell/Modules/cellSysconf.h
Lassi Hämäläinen e9e87b8bd9 Add missing #includes to header files
- Multiple header files where missing #includes to other headers that
  where used in the header. Correct header was included in correct
  order in source files which caused everything to compile.
- Added missing #includes so header files correctly include all their
  dependencies and fixes problems with IDEs being unable to parse
  headers correctly due to missing symbols
2019-06-25 17:11:10 +03:00

37 lines
715 B
C

#pragma once
#include "Emu/Memory/vm_ptr.h"
typedef void(CellSysconfCallback)(s32 result, vm::ptr<void> userdata);
struct CellSysconfBtDeviceInfo
{
be_t<u64> deviceId;
be_t<s32> deviceType; // CellSysconfBtDeviceType
be_t<s32> state; // CellSysconfBtDeviceState
char name[64];
be_t<u32> reserved[4];
};
struct CellSysconfBtDeviceList
{
CellSysconfBtDeviceInfo device[16];
};
enum CellSysconfBtDeviceType : s32
{
CELL_SYSCONF_BT_DEVICE_TYPE_AUDIO = 0x00000001,
CELL_SYSCONF_BT_DEVICE_TYPE_HID = 0x00000002,
};
enum CellSysconfBtDeviceState : s32
{
CELL_SYSCONF_BT_DEVICE_STATE_UNAVAILABLE = 0,
CELL_SYSCONF_BT_DEVICE_STATE_AVAILABLE = 1,
};
enum
{
CELL_SYSCONF_ERROR_PARAM = 0x8002bb01
};