mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-28 06:16:23 -05:00
10a2d20e26
Used by LovePotion Lua Homebrew. Stubbed to return 100% charge.
25 lines
511 B
C++
25 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
|