summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorChloe Marcec <dmarcecguzman@gmail.com>2021-01-25 13:13:37 +0100
committerChloe Marcec <dmarcecguzman@gmail.com>2021-01-25 13:13:37 +0100
commit2c57f0fbd576c47887f2707924a3023802a17e46 (patch)
tree1b1d5a76c513b9ff9f7c83fafe5bd11a5dfe55dc /src/core
parentpsm: IPsmSession (diff)
downloadyuzu-2c57f0fbd576c47887f2707924a3023802a17e46.tar
yuzu-2c57f0fbd576c47887f2707924a3023802a17e46.tar.gz
yuzu-2c57f0fbd576c47887f2707924a3023802a17e46.tar.bz2
yuzu-2c57f0fbd576c47887f2707924a3023802a17e46.tar.lz
yuzu-2c57f0fbd576c47887f2707924a3023802a17e46.tar.xz
yuzu-2c57f0fbd576c47887f2707924a3023802a17e46.tar.zst
yuzu-2c57f0fbd576c47887f2707924a3023802a17e46.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/service/ptm/psm.cpp3
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:
class PSM final : public ServiceFramework<PSM> {
public:
- explicit PSM(Core::System& system_) : ServiceFramework{system_, "psm"}, system(system_) {
+ explicit PSM(Core::System& system_) : ServiceFramework{system_, "psm"} {
// clang-format off
static const FunctionInfo functions[] = {
{0, &PSM::GetBatteryChargePercentage, "GetBatteryChargePercentage"},
@@ -181,7 +181,6 @@ private:
u32 battery_charge_percentage{100}; // 100%
ChargerType charger_type{ChargerType::RegularCharger};
- Core::System& system;
};
void InstallInterfaces(SM::ServiceManager& sm, Core::System& system) {