diff options
| author | 2021-01-25 23:13:37 +1100 | |
|---|---|---|
| committer | 2021-01-25 23:13:37 +1100 | |
| commit | 2c57f0fbd576c47887f2707924a3023802a17e46 (patch) | |
| tree | 1b1d5a76c513b9ff9f7c83fafe5bd11a5dfe55dc /src/core/hle | |
| parent | psm: IPsmSession (diff) | |
| download | yuzu-2c57f0fbd576c47887f2707924a3023802a17e46.tar.gz yuzu-2c57f0fbd576c47887f2707924a3023802a17e46.tar.xz yuzu-2c57f0fbd576c47887f2707924a3023802a17e46.zip | |
Omit system reference
Diffstat (limited to 'src/core/hle')
| -rw-r--r-- | src/core/hle/service/ptm/psm.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/service/ptm/psm.cpp b/src/core/hle/service/ptm/psm.cpp index 4f98e15ef..a7cfccda3 100644 --- a/src/core/hle/service/ptm/psm.cpp +++ b/src/core/hle/service/ptm/psm.cpp | |||
| @@ -117,7 +117,7 @@ private: | |||
| 117 | 117 | ||
| 118 | class PSM final : public ServiceFramework<PSM> { | 118 | class PSM final : public ServiceFramework<PSM> { |
| 119 | public: | 119 | public: |
| 120 | explicit PSM(Core::System& system_) : ServiceFramework{system_, "psm"}, system(system_) { | 120 | explicit PSM(Core::System& system_) : ServiceFramework{system_, "psm"} { |
| 121 | // clang-format off | 121 | // clang-format off |
| 122 | static const FunctionInfo functions[] = { | 122 | static const FunctionInfo functions[] = { |
| 123 | {0, &PSM::GetBatteryChargePercentage, "GetBatteryChargePercentage"}, | 123 | {0, &PSM::GetBatteryChargePercentage, "GetBatteryChargePercentage"}, |
| @@ -181,7 +181,6 @@ private: | |||
| 181 | 181 | ||
| 182 | u32 battery_charge_percentage{100}; // 100% | 182 | u32 battery_charge_percentage{100}; // 100% |
| 183 | ChargerType charger_type{ChargerType::RegularCharger}; | 183 | ChargerType charger_type{ChargerType::RegularCharger}; |
| 184 | Core::System& system; | ||
| 185 | }; | 184 | }; |
| 186 | 185 | ||
| 187 | void InstallInterfaces(SM::ServiceManager& sm, Core::System& system) { | 186 | void InstallInterfaces(SM::ServiceManager& sm, Core::System& system) { |