0
0
Fork 0

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 GitHub
parent dde208b480
commit 5440d4ad5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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