mirror of
https://github.com/ndeadly/MissionControl
synced 2024-11-26 14:20:21 +00:00
btdrv-mitm: fix hos version check for hid report data format
This commit is contained in:
parent
48376acd37
commit
2357ae4a9c
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ namespace ams::bluetooth::hid::report {
|
|||
const HidReport *inReport;
|
||||
HidReport *outReport;
|
||||
// copy address and stuff over
|
||||
if (hos::GetVersion() < hos::Version_10_0_0) {
|
||||
if (hos::GetVersion() < hos::Version_9_0_0) {
|
||||
g_fakeReportData->size = 0; // Todo: calculate size of report data
|
||||
std::memcpy(&g_fakeReportData->address, &realPacket->data.address, sizeof(BluetoothAddress));
|
||||
inReport = &realPacket->data.report;
|
||||
|
|
Loading…
Reference in a new issue