From 5440d4ad5c5421a474a61e582e524ced5bd65547 Mon Sep 17 00:00:00 2001 From: Mary Date: Sun, 7 May 2023 22:50:45 +0200 Subject: [PATCH] misc: Switch ProcessResult to a class (#4846) This avoid giant copies being performed when being returned or passed. --- src/Ryujinx.HLE/Loaders/Processes/ProcessResult.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Ryujinx.HLE/Loaders/Processes/ProcessResult.cs b/src/Ryujinx.HLE/Loaders/Processes/ProcessResult.cs index 2801e4e08c..cf8168f74c 100644 --- a/src/Ryujinx.HLE/Loaders/Processes/ProcessResult.cs +++ b/src/Ryujinx.HLE/Loaders/Processes/ProcessResult.cs @@ -9,7 +9,7 @@ using System.Linq; namespace Ryujinx.HLE.Loaders.Processes { - public struct ProcessResult + public class ProcessResult { public static ProcessResult Failed => new(null, new ApplicationControlProperty(), false, false, null, 0, 0, 0, TitleLanguage.AmericanEnglish);