Deglobalize System: IRS

This commit is contained in:
David Marcec
2019-09-21 18:49:44 +10:00
parent 28181919a6
commit 07823b61a1
3 changed files with 6 additions and 5 deletions

View File

@ -15,7 +15,7 @@ namespace Service::HID {
class IRS final : public ServiceFramework<IRS> {
public:
explicit IRS();
explicit IRS(Core::System& system);
~IRS() override;
private:
@ -39,6 +39,7 @@ private:
void ActivateIrsensorWithFunctionLevel(Kernel::HLERequestContext& ctx);
Kernel::SharedPtr<Kernel::SharedMemory> shared_mem;
const u32 device_handle{0xABCD};
Core::System& system;
};
class IRS_SYS final : public ServiceFramework<IRS_SYS> {