diff options
Diffstat (limited to 'src/core/hle/service/btdrv')
| -rw-r--r-- | src/core/hle/service/btdrv/btdrv.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/btdrv/btdrv.cpp b/src/core/hle/service/btdrv/btdrv.cpp index d4f0dd1ab..2de86f1f1 100644 --- a/src/core/hle/service/btdrv/btdrv.cpp +++ b/src/core/hle/service/btdrv/btdrv.cpp | |||
| @@ -17,7 +17,7 @@ namespace Service::BtDrv { | |||
| 17 | 17 | ||
| 18 | class Bt final : public ServiceFramework<Bt> { | 18 | class Bt final : public ServiceFramework<Bt> { |
| 19 | public: | 19 | public: |
| 20 | explicit Bt(Core::System& system) : ServiceFramework{"bt"} { | 20 | explicit Bt(Core::System& system_) : ServiceFramework{system_, "bt"} { |
| 21 | // clang-format off | 21 | // clang-format off |
| 22 | static const FunctionInfo functions[] = { | 22 | static const FunctionInfo functions[] = { |
| 23 | {0, nullptr, "LeClientReadCharacteristic"}, | 23 | {0, nullptr, "LeClientReadCharacteristic"}, |
| @@ -52,7 +52,7 @@ private: | |||
| 52 | 52 | ||
| 53 | class BtDrv final : public ServiceFramework<BtDrv> { | 53 | class BtDrv final : public ServiceFramework<BtDrv> { |
| 54 | public: | 54 | public: |
| 55 | explicit BtDrv() : ServiceFramework{"btdrv"} { | 55 | explicit BtDrv(Core::System& system_) : ServiceFramework{system_, "btdrv"} { |
| 56 | // clang-format off | 56 | // clang-format off |
| 57 | static const FunctionInfo functions[] = { | 57 | static const FunctionInfo functions[] = { |
| 58 | {0, nullptr, "InitializeBluetoothDriver"}, | 58 | {0, nullptr, "InitializeBluetoothDriver"}, |
| @@ -166,7 +166,7 @@ public: | |||
| 166 | }; | 166 | }; |
| 167 | 167 | ||
| 168 | void InstallInterfaces(SM::ServiceManager& sm, Core::System& system) { | 168 | void InstallInterfaces(SM::ServiceManager& sm, Core::System& system) { |
| 169 | std::make_shared<BtDrv>()->InstallAsService(sm); | 169 | std::make_shared<BtDrv>(system)->InstallAsService(sm); |
| 170 | std::make_shared<Bt>(system)->InstallAsService(sm); | 170 | std::make_shared<Bt>(system)->InstallAsService(sm); |
| 171 | } | 171 | } |
| 172 | 172 | ||