From 1429f6f6bd98f5c93a58e7d1af4f70c81c9f64ba Mon Sep 17 00:00:00 2001 From: fearlessTobi Date: Sat, 9 Jun 2018 20:47:22 +0200 Subject: [PATCH] Address Cyuubi's feedback --- Ryujinx.Core/OsHle/Services/Nfp/IUser.cs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Ryujinx.Core/OsHle/Services/Nfp/IUser.cs b/Ryujinx.Core/OsHle/Services/Nfp/IUser.cs index 2e9cd2dc13..9f60e974d1 100644 --- a/Ryujinx.Core/OsHle/Services/Nfp/IUser.cs +++ b/Ryujinx.Core/OsHle/Services/Nfp/IUser.cs @@ -14,10 +14,15 @@ namespace Ryujinx.Core.OsHle.Services.Nfp public override IReadOnlyDictionary Commands => m_Commands; private const HidControllerId NpadId = HidControllerId.CONTROLLER_PLAYER_1; + private State State = State.NonInitialized; + private DeviceState DeviceState = DeviceState.Initialized; + private KEvent ActivateEvent; + private KEvent DeactivateEvent; + private KEvent AvailabilityChangeEvent; public IUser() @@ -33,8 +38,8 @@ namespace Ryujinx.Core.OsHle.Services.Nfp { 23, AttachAvailabilityChangeEvent } }; - ActivateEvent = new KEvent(); - DeactivateEvent = new KEvent(); + ActivateEvent = new KEvent(); + DeactivateEvent = new KEvent(); AvailabilityChangeEvent = new KEvent(); }