Merge pull request #7100 from lioncash/table
WiimoteHIDAttr: Make file-scope packet data arrays immutable
This commit is contained in:
commit
5d1b35e867
|
@ -9,7 +9,7 @@
|
|||
|
||||
namespace IOS::HLE
|
||||
{
|
||||
static u8 packet1[] = {
|
||||
constexpr u8 packet1[] = {
|
||||
0x00, 0x7b, 0x00, 0x76, 0x36, 0x01, 0xcc, 0x09, 0x00, 0x00, 0x0a, 0x00, 0x01, 0x00, 0x00, 0x09,
|
||||
0x00, 0x01, 0x35, 0x03, 0x19, 0x11, 0x24, 0x09, 0x00, 0x04, 0x35, 0x0d, 0x35, 0x06, 0x19, 0x01,
|
||||
0x00, 0x09, 0x00, 0x11, 0x35, 0x03, 0x19, 0x00, 0x11, 0x09, 0x00, 0x05, 0x35, 0x03, 0x19, 0x10,
|
||||
|
@ -20,7 +20,7 @@ static u8 packet1[] = {
|
|||
0x4c, 0x2d, 0x43, 0x4e, 0x54, 0x2d, 0x30, 0x31, 0x09, 0x01, 0x02, 0x00, 0x76,
|
||||
};
|
||||
|
||||
static u8 packet2[] = {
|
||||
constexpr u8 packet2[] = {
|
||||
0x00, 0x7b, 0x00, 0x76, 0x01, 0x25, 0x13, 0x4e, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x6f, 0x20,
|
||||
0x52, 0x56, 0x4c, 0x2d, 0x43, 0x4e, 0x54, 0x2d, 0x30, 0x31, 0x09, 0x01, 0x02, 0x25, 0x08, 0x4e,
|
||||
0x69, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x6f, 0x09, 0x02, 0x00, 0x09, 0x01, 0x00, 0x09, 0x02, 0x01,
|
||||
|
@ -31,7 +31,7 @@ static u8 packet2[] = {
|
|||
0x91, 0x00, 0x85, 0x12, 0x95, 0x02, 0x09, 0x01, 0x91, 0x00, 0x02, 0x00, 0xec,
|
||||
};
|
||||
|
||||
static u8 packet3[] = {
|
||||
constexpr u8 packet3[] = {
|
||||
0x00, 0x7b, 0x00, 0x76, 0x85, 0x13, 0x95, 0x01, 0x09, 0x01, 0x91, 0x00, 0x85, 0x14, 0x95, 0x01,
|
||||
0x09, 0x01, 0x91, 0x00, 0x85, 0x15, 0x95, 0x01, 0x09, 0x01, 0x91, 0x00, 0x85, 0x16, 0x95, 0x15,
|
||||
0x09, 0x01, 0x91, 0x00, 0x85, 0x17, 0x95, 0x06, 0x09, 0x01, 0x91, 0x00, 0x85, 0x18, 0x95, 0x15,
|
||||
|
@ -42,7 +42,7 @@ static u8 packet3[] = {
|
|||
0x09, 0x01, 0x81, 0x00, 0x85, 0x33, 0x95, 0x11, 0x09, 0x01, 0x02, 0x01, 0x62,
|
||||
};
|
||||
|
||||
static u8 packet4[] = {
|
||||
constexpr u8 packet4[] = {
|
||||
0x00, 0x70, 0x00, 0x6d, 0x81, 0x00, 0x85, 0x34, 0x95, 0x15, 0x09, 0x01, 0x81, 0x00, 0x85,
|
||||
0x35, 0x95, 0x15, 0x09, 0x01, 0x81, 0x00, 0x85, 0x36, 0x95, 0x15, 0x09, 0x01, 0x81, 0x00,
|
||||
0x85, 0x37, 0x95, 0x15, 0x09, 0x01, 0x81, 0x00, 0x85, 0x3d, 0x95, 0x15, 0x09, 0x01, 0x81,
|
||||
|
@ -54,7 +54,7 @@ static u8 packet4[] = {
|
|||
|
||||
};
|
||||
|
||||
static u8 packet4_0x10001[] = {
|
||||
constexpr u8 packet4_0x10001[] = {
|
||||
0x00, 0x60, 0x00, 0x5d, 0x36, 0x00, 0x5a, 0x09, 0x00, 0x00, 0x0a, 0x00, 0x01, 0x00,
|
||||
0x01, 0x09, 0x00, 0x01, 0x35, 0x03, 0x19, 0x12, 0x00, 0x09, 0x00, 0x04, 0x35, 0x0d,
|
||||
0x35, 0x06, 0x19, 0x01, 0x00, 0x09, 0x00, 0x01, 0x35, 0x03, 0x19, 0x00, 0x01, 0x09,
|
||||
|
|
Loading…
Reference in New Issue