diff options
| author | Mary <mary@mary.zone> | 2023-05-08 01:50:07 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-08 01:50:07 +0200 |
| commit | 0e06aace458109f70dc5f36535f77117465ea707 (patch) | |
| tree | 82ee3e3c53c8e31f77aad84b5c9b8d0ecf1a1504 /src/Ryujinx.HLE/Loaders/Processes/ProcessLoaderHelper.cs | |
| parent | adf4ebcd60d00f5ef43d2168c3ba9893ff2c1153 (diff) | |
misc: Avoid copy of ApplicationControlProperty (#4849)
Avoid more giant copy when passing it around.
Diffstat (limited to 'src/Ryujinx.HLE/Loaders/Processes/ProcessLoaderHelper.cs')
| -rw-r--r-- | src/Ryujinx.HLE/Loaders/Processes/ProcessLoaderHelper.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Ryujinx.HLE/Loaders/Processes/ProcessLoaderHelper.cs b/src/Ryujinx.HLE/Loaders/Processes/ProcessLoaderHelper.cs index b802a642..d1c60f16 100644 --- a/src/Ryujinx.HLE/Loaders/Processes/ProcessLoaderHelper.cs +++ b/src/Ryujinx.HLE/Loaders/Processes/ProcessLoaderHelper.cs @@ -219,7 +219,7 @@ namespace Ryujinx.HLE.Loaders.Processes Switch device, KernelContext context, MetaLoader metaLoader, - ApplicationControlProperty applicationControlProperties, + BlitStruct<ApplicationControlProperty> applicationControlProperties, bool diskCacheEnabled, bool allowCodeMemoryForJit, string name, @@ -355,7 +355,7 @@ namespace Ryujinx.HLE.Loaders.Processes context.Device.System.TickSource, context.Device.Gpu, $"{programId:x16}", - applicationControlProperties.DisplayVersionString.ToString(), + applicationControlProperties.Value.DisplayVersionString.ToString(), diskCacheEnabled, codeStart, codeSize); |
