mirror of
https://github.com/starr-dusT/yuzu-mainline
synced 2024-03-05 21:12:25 -08:00
10a2d20e26
Used by LovePotion Lua Homebrew. Stubbed to return 100% charge.
26 lines
511 B
C++
26 lines
511 B
C++
// Copyright 2018 yuzu emulator team
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
#include "core/hle/service/service.h"
|
|
|
|
namespace Service::SM {
|
|
class ServiceManager;
|
|
}
|
|
|
|
namespace Service::PSM {
|
|
|
|
class PSM final : public ServiceFramework<PSM> {
|
|
public:
|
|
explicit PSM();
|
|
~PSM() override;
|
|
|
|
private:
|
|
void GetBatteryChargePercentage(Kernel::HLERequestContext& ctx);
|
|
};
|
|
|
|
void InstallInterfaces(SM::ServiceManager& sm);
|
|
|
|
} // namespace Service::PSM
|