From 9af23b49f2fbb77f22f65689da15bbedc85c7b3f Mon Sep 17 00:00:00 2001 From: Isaac Marovitz Date: Thu, 15 Feb 2024 13:08:37 -0500 Subject: [PATCH] Format Constructor Pls --- src/Ryujinx.Horizon/Am/Ipc/Storage/StorageChannel.cs | 7 ++++++- src/Ryujinx.Horizon/Sdk/Am/AppletMessage.cs | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) 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,