summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/btm
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-11-06 16:05:50 +0100
committerGitHub <noreply@github.com>2019-11-06 16:05:50 +0100
commitc1a3d1989775b94617ba05b1b9b15046b3febd81 (patch)
tree1d0e5b14bc8b8d983c27ad5257f27a9b3b2c5eb9 /src/core/hle/service/btm
parentMerge pull request #3039 from ReinUsesLisp/cleanup-samplers (diff)
parentkernel: readable_event: Signal only once. (diff)
downloadyuzu-c1a3d1989775b94617ba05b1b9b15046b3febd81.tar
yuzu-c1a3d1989775b94617ba05b1b9b15046b3febd81.tar.gz
yuzu-c1a3d1989775b94617ba05b1b9b15046b3febd81.tar.bz2
yuzu-c1a3d1989775b94617ba05b1b9b15046b3febd81.tar.lz
yuzu-c1a3d1989775b94617ba05b1b9b15046b3febd81.tar.xz
yuzu-c1a3d1989775b94617ba05b1b9b15046b3febd81.tar.zst
yuzu-c1a3d1989775b94617ba05b1b9b15046b3febd81.zip
Diffstat (limited to 'src/core/hle/service/btm')
-rw-r--r--src/core/hle/service/btm/btm.cpp14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/core/hle/service/btm/btm.cpp b/src/core/hle/service/btm/btm.cpp
index 920fc6ff7..251b3c9df 100644
--- a/src/core/hle/service/btm/btm.cpp
+++ b/src/core/hle/service/btm/btm.cpp
@@ -57,14 +57,12 @@ public:
RegisterHandlers(functions);
auto& kernel = system.Kernel();
- scan_event = Kernel::WritableEvent::CreateEventPair(kernel, Kernel::ResetType::Automatic,
- "IBtmUserCore:ScanEvent");
- connection_event = Kernel::WritableEvent::CreateEventPair(
- kernel, Kernel::ResetType::Automatic, "IBtmUserCore:ConnectionEvent");
- service_discovery = Kernel::WritableEvent::CreateEventPair(
- kernel, Kernel::ResetType::Automatic, "IBtmUserCore:Discovery");
- config_event = Kernel::WritableEvent::CreateEventPair(kernel, Kernel::ResetType::Automatic,
- "IBtmUserCore:ConfigEvent");
+ scan_event = Kernel::WritableEvent::CreateEventPair(kernel, "IBtmUserCore:ScanEvent");
+ connection_event =
+ Kernel::WritableEvent::CreateEventPair(kernel, "IBtmUserCore:ConnectionEvent");
+ service_discovery =
+ Kernel::WritableEvent::CreateEventPair(kernel, "IBtmUserCore:Discovery");
+ config_event = Kernel::WritableEvent::CreateEventPair(kernel, "IBtmUserCore:ConfigEvent");
}
private: