yuzu/src/core/hle/service/ptm/psm.h
Zach Hilman 10a2d20e26 psm: Stub GetBatteryChargePercentage
Used by LovePotion Lua Homebrew. Stubbed to return 100% charge.
2018-10-20 18:01:11 -04:00

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