summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-02-28 01:46:01 +0100
committerGitHub <noreply@github.com>2023-02-28 01:46:01 +0100
commit50575c317e9d92d5c269bf7920cbbd286d50f476 (patch)
treefd2e85f78254008f2c8920b2a1b093b1cf06e087 /src
parentMerge pull request #9872 from goldenx86/partialLTO (diff)
parentservice: btm: Fix handle functions (diff)
downloadyuzu-50575c317e9d92d5c269bf7920cbbd286d50f476.tar
yuzu-50575c317e9d92d5c269bf7920cbbd286d50f476.tar.gz
yuzu-50575c317e9d92d5c269bf7920cbbd286d50f476.tar.bz2
yuzu-50575c317e9d92d5c269bf7920cbbd286d50f476.tar.lz
yuzu-50575c317e9d92d5c269bf7920cbbd286d50f476.tar.xz
yuzu-50575c317e9d92d5c269bf7920cbbd286d50f476.tar.zst
yuzu-50575c317e9d92d5c269bf7920cbbd286d50f476.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/btm/btm.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/core/hle/service/btm/btm.cpp b/src/core/hle/service/btm/btm.cpp
index eebf85e03..419da36c4 100644
--- a/src/core/hle/service/btm/btm.cpp
+++ b/src/core/hle/service/btm/btm.cpp
@@ -72,32 +72,36 @@ private:
void AcquireBleScanEvent(Kernel::HLERequestContext& ctx) {
LOG_WARNING(Service_BTM, "(STUBBED) called");
- IPC::ResponseBuilder rb{ctx, 2, 1};
+ IPC::ResponseBuilder rb{ctx, 3, 1};
rb.Push(ResultSuccess);
+ rb.Push(true);
rb.PushCopyObjects(scan_event->GetReadableEvent());
}
void AcquireBleConnectionEvent(Kernel::HLERequestContext& ctx) {
LOG_WARNING(Service_BTM, "(STUBBED) called");
- IPC::ResponseBuilder rb{ctx, 2, 1};
+ IPC::ResponseBuilder rb{ctx, 3, 1};
rb.Push(ResultSuccess);
+ rb.Push(true);
rb.PushCopyObjects(connection_event->GetReadableEvent());
}
void AcquireBleServiceDiscoveryEvent(Kernel::HLERequestContext& ctx) {
LOG_WARNING(Service_BTM, "(STUBBED) called");
- IPC::ResponseBuilder rb{ctx, 2, 1};
+ IPC::ResponseBuilder rb{ctx, 3, 1};
rb.Push(ResultSuccess);
+ rb.Push(true);
rb.PushCopyObjects(service_discovery_event->GetReadableEvent());
}
void AcquireBleMtuConfigEvent(Kernel::HLERequestContext& ctx) {
LOG_WARNING(Service_BTM, "(STUBBED) called");
- IPC::ResponseBuilder rb{ctx, 2, 1};
+ IPC::ResponseBuilder rb{ctx, 3, 1};
rb.Push(ResultSuccess);
+ rb.Push(true);
rb.PushCopyObjects(config_event->GetReadableEvent());
}