misc: Switch ProcessResult to a class (#4846)

This avoid giant copies being performed when being returned or passed.
This commit is contained in:
Mary 2023-05-07 22:50:45 +02:00 committed by Matt Heins
parent 2353c074c0
commit 51acf0f4f5

View file

@ -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);