diff --git a/src/Ryujinx.Horizon/Am/Ipc/Storage/StorageChannel.cs b/src/Ryujinx.Horizon/Am/Ipc/Storage/StorageChannel.cs index 3b3409359..2c9137aae 100644 --- a/src/Ryujinx.Horizon/Am/Ipc/Storage/StorageChannel.cs +++ b/src/Ryujinx.Horizon/Am/Ipc/Storage/StorageChannel.cs @@ -8,7 +8,12 @@ namespace Ryujinx.Horizon.Am.Ipc.Storage { partial class StorageChannel : IStorageChannel { - private Stack _storages; + private readonly Stack _storages; + + public StorageChannel() + { + _storages = new Stack(); + } [CmifCommand(0)] public Result Push(IStorage storage) diff --git a/src/Ryujinx.Horizon/Sdk/Am/AppletMessage.cs b/src/Ryujinx.Horizon/Sdk/Am/AppletMessage.cs index 7718b7cac..891b84f84 100644 --- a/src/Ryujinx.Horizon/Sdk/Am/AppletMessage.cs +++ b/src/Ryujinx.Horizon/Sdk/Am/AppletMessage.cs @@ -19,7 +19,7 @@ namespace Ryujinx.Horizon.Sdk.Am SleepRequiredByHighTemperature = 27, SleepRequiredByLowBattery = 28, AutoPowerDown = 29, - OperationModeChanged = 30, + OperationModeChanged = 30, PerformanceModeChanged = 31, DetectReceivingCecSystemStandby = 32, SdCardRemoved = 33,